View Full Version : DataGrid renderer function (checkbox, combobox)

29 May 2009, 6:33 AM
I need to render checkbox, combobox (and maybe in the future other king of html elements) in a datagrid (read only grid)

I haven't found standard renderer function for checkbox and combobox.
Looking on this forum I found a very simple solution for checkbox (
https://extjs.net/forum/showthread.php?t=4508&page=2 (https://extjs.net/forum/showthread.php?t=4508&page=2)) but not a so simple solution for combobox (also multi select)

I found a doc talking about it (http://www.rowlands-bcs.com/extjs/tips/rendering-combo-values-editor-grid-panels (http://www.rowlands-bcs.com/extjs/tips/rendering-combo-values-editor-grid-panels)) but I prefer to don't override the doRender function.

There are any other idea for it ?

And why in ExtJS there isn't this standard feature?
I believe that all developers need to display a checkbox in a differnt way of a label (true/false) and for a combobox, display the description of the value and so on..

I'm sorry.. I'm a newbie of ExtJs (i'm using 3.0 RC 1.1)