Work With Checkboxes

If you need native checkboxes that are automatically bound to your model, instead of fake "ChoiceCellEditor checkboxes", you can use UICheckBoxCellEditor.

However, be aware that such native checkboxes only have two states and two values (selected or unselected, e.g., Y or N). You can't set a custom value for null/empty, but this would be possible with UIChoiceCellEditor.

The advantage of native checkboxes is that they will fit your look and feel, but this would be also possible with custom images and choice cell editors.


The syntax is similar to ChoiceCellEditors, e.g.:


The ApplicationUtil defines default cell editors. The YESNO_CHECKBOX is defined as:

new UICheckBoxCellEditor("Y", "N");

It's also possible to define default checkbox cell editors for an application:

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information