2008-03-26, 06:17 AM
One for JavaWiz:
Presumably I'm missing the obvious, but is there a way to remove an individual item from a populated WizUiList ?
So far I've tried various combinations of RemoveAt from the getItemList ArrayList (no effect), creating a new ArrayList and adding the ListItem one a time, then assigning the new list back to setList, but that didn't work either.
Any actions on the underlying ArrayList seemed to be ignored, while trying to assign a new list based on the old one gives me a list of "@text". Now, granted, it is the right number of @text lines, but still not quite what I was hoping to achieve.
I tried assigning null to setListItem, but that made it REALLY unhappy.
ClearSelected looked tempting, but only after trying it out did I realize that wasn't the meaning of Clear that I was looking for.
I'm sure I'm just missing something, but can you point me in the right direction?
Thanks!
Presumably I'm missing the obvious, but is there a way to remove an individual item from a populated WizUiList ?
So far I've tried various combinations of RemoveAt from the getItemList ArrayList (no effect), creating a new ArrayList and adding the ListItem one a time, then assigning the new list back to setList, but that didn't work either.
Any actions on the underlying ArrayList seemed to be ignored, while trying to assign a new list based on the old one gives me a list of "@text". Now, granted, it is the right number of @text lines, but still not quite what I was hoping to achieve.
I tried assigning null to setListItem, but that made it REALLY unhappy.
ClearSelected looked tempting, but only after trying it out did I realize that wasn't the meaning of Clear that I was looking for.
I'm sure I'm just missing something, but can you point me in the right direction?
Thanks!