I have a custom list box with checboxes inside it. I want to get Components which are selected. The idea is simple - to get all component and to check which of them have checked state.
The problem is that I cannot get all components, and I even cannot get total number of ones.
returns 1, but I have 6 items. The private field named
has correct value = 6 though. What’s wrong with getNumChildComponents() ?
ok, say if checkbox in the item is toggled then set it selected. But how to set a row into selected state from inside item component? anyway, what’s with totalItems