3 Replies Latest reply on Nov 13, 2006 12:08 PM by ntsiii

    How to hide blank columns in datagrid?

    Like2Flex
      Hi,

      I have a datagrid nicely populated with data.

      But I have some colums which are blank (the columns have a Header but the rest of its rows are blank).

      I want to hide these columns so that users can't see them.

      Note that the blank columns are not fixed. Sometimes it can be that a column is blank but at other times it can be filled.
      So I cannot use... "<... visible=false>

      I need to loop thru the columns and then hide the blank columns.

      Anyone has an idea how to code for this loop.

      Thx