But, when I repopulate, with new items.. I maintains the same element as selected , or highlighted from the last populate.. How can I clear out the "Selected" property.. so nothing is selected or highlighted..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Before I populate my table.. I clear it first and get rid of the old stuff. Works perfect..
TInventorySelectProcuctFrame(AFrame).InventoryUpcItemsTable.Sections[0].TableItems.clear;
But, when I repopulate, with new items.. I maintains the same element as selected , or highlighted from the last populate.. How can I clear out the "Selected" property.. so nothing is selected or highlighted..
InventoryUpcItemsTable.RefreshNeeded; seemed to do the trick..
Hope this is ok.. Thanks!
Hi Gordon
Before filling table call this function:
See second parameter.
Reloaddata force table UI for clearing,
ClearSelections force table to clear last selected item(s)
Regards
Last edit: Babak Yaghoobi 2014-01-24