2 Replies Latest reply on Nov 13, 2006 12:41 PM by ntsiii

    Problem :Hiding blank rows in datagrid

    Like2Flex Level 1

      I have a datgrid populated with a dataprovider.

      I want to loop through the columns of the grid and then hide the blank rows. My code is as follows :

      for ( var i:int = 0; i < grd.columnCount ; i++){

      if (here I need to check if the first row is blank) {
      grd.columnWidth =0;
      //Alert.show(new String("test"));

      How do I check if the first row is blank?

      Anyone can help me complete my code?