Menu

Pick list selected item..

Gordon
2014-01-23
2014-01-24
  • Gordon

    Gordon - 2014-01-23

    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..

     
  • Gordon

    Gordon - 2014-01-23

    InventoryUpcItemsTable.RefreshNeeded; seemed to do the trick..

    Hope this is ok.. Thanks!

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2014-01-24

    Hi Gordon

    Before filling table call this function:

    TDPFUITableView.ClearAll( reloadData: Boolean = false; ClearSelections: Boolean = false )
    

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.