Answered: SimpleComboBox rendered in CellEditor setEmptyText doesn't work
Answered: SimpleComboBox rendered in CellEditor setEmptyText doesn't work
Hello,
I am using your "Editable Grib" example in a part of my application. I got it mostly working for what I need, but I'm having an issue where the SimpleComboBox(es) in the Grid don't have a default value, and setEmptyText does not work no matter how I set it.
Is it supposed to not work like that? How can I set a default value like setEmptyText in SimpleComboBoxes that are rendered in the CellEditor/EditorGrid?
Empty texts will not be displayed when using fields in grids.
For displaying a text for your field empty value within grids, you need to use a grid renderer.
Check for your empty/null value, and then in the renderer, return what your empty text.
Empty texts will not be displayed when using fields in grids.
For displaying a text for your field empty value within grids, you need to use a grid renderer.
Check for your empty/null value, and then in the renderer, return what your empty text.