1 Reply Latest reply on Mar 3, 2010 6:03 AM by Matt Le Fevre

    datagrid columns widths

    JockMahon Level 1

      is there some reason why the dg columns width can not be set to percentages. I have a grid in a panel that changes size.

      the grid changes fine but the columns don't

       

      I have tried  the following

       

      width="dg.width * 0.50" or

      width="{(dg.width / 100 ) * 50}"

       

      but these don't work as the columns are rendered first and at that time the dg.width is undefined

      it is only after a user resizes a colum that the percentage sizing kicks in

       

      is there some event on the datagrid like creation complete that i can call a function to set the columns width once every thing has been rendered