2 Replies Latest reply on Oct 22, 2008 11:13 PM by sharp16

    dynamic datagrid

    sharp16
      i would like to have a sticky first row with combobox for a dynamic(column) datagrid. can any one suggest me how to accomplish this?
      thanks
        • 1. Re: dynamic datagrid
          -Hob Level 1
          Depends what you're doing with the combobox. We use a combobox for doing row filtering in our datagrids. We don't create a sticky first row though...we extend AdvanedDataGridHeader and include the combobox as part of the column header.

          If you really want it as a grid row, however, what I would do is extend whatever class you're using as your grid's dataProvider, and override the addItem, addItemAt, removeItem, etc., methods so that they never remove the sticky row from the dataProvider. Then you can use the grid's rendererProviders property to create specific renderers for that row.
          • 2. Re: dynamic datagrid
            sharp16 Level 1
            thank you