Checkboxes indicating which row is new
I have a table with checkboxes in one column. Currently they are not bound to anything. I would like to have it so that every time I append a row, that row's checkbox will be ticked.
Does anyone know how to do this?
I've tried binding them to all sort sorts of objects without much luck.
Thanks,
Tristan
[336 byte] By [
apersona] at [2007-11-26 15:11:29]

# 2
A checkbox must be bound either to a class property of type boolean or to a class method that returns a value of type boolean. In your table definition, ensure that the checkbox column is bound to either a boolean class variable or a method that returns a boolean. Then set this value each time a new row is added to the data that is shown in the table.
Hope this helps.
Ragards,
Tom