3 Replies Latest reply on Oct 13, 2011 1:10 AM by prithvi.zankat

    Want to implent CheckBox for itemRenderer and headerItemRenderer for spark DataGrid.

    prithvi.zankat

      I am using mx:DataGrid in my application.

      The first column itemRenderer and headerItermRenderer is CheckBox.

       

      Now I want to move it to spark DataGrid. I could imprement itermRenderer easily by creating sub-claassing GridItemRenderer. But I am struck at implementing headerItermRenderer. I tried to implent it using GridItemRenderer sub-class as I did with itemRenderer. It is not working. The set data method is not getting called.

       

      Do anyone have code for implenting checkbox as itemRenderer and headerRendere in spark datagrid (and not mx datagrid)?

       

      Thanks,

      Prithvee Zankat.