Dec 23, 2013, 4:01 PM
[CLOSED] Gridpanel cell edit based on data type
I have a grid panel and one column displays a text value which could be a number of data types, e.g. "true"/"false" (bool), "123" (int), "hello world" (string). As part of the store, I know what data type the value represents as I return bool int, string as part of the record. So I'm wondering if there's a way of having multiple editors inside a single column field and toggling them on/off based on the datatype in the record? Is there an example of this? Ideally I don't want to build the grid panel dynamically, but use markup.
I've looked at a property grid, but I need to show more than name/value pair (hence the gridpanel), so I would like to know if this if possible. Any help would be appreciated.
Cheers,
Kev
I've looked at a property grid, but I need to show more than name/value pair (hence the gridpanel), so I would like to know if this if possible. Any help would be appreciated.
Cheers,
Kev
Last edited by Daniil; Dec 27, 2013 at 4:38 AM.
Reason: [CLOSED]