I have a ListBox that is supposed to show only certain rows based on some radio buttons. I was wondering if there was a way to hide a row in a ListBox, without deleting it? The only way I can get it to do this is by calling
table->getComponentForRowNumber(rowNumber))->setSize(0,0)
in the paintRowBackground function this works good, except that it leaves blank spots where the rows are hidden, without shifting the visible rows to the top. Any help would be greatly appreciated.