benibela / treelistview

A Pascal treelistview component, showing a treeview together with the columns of a listview (for Delphi and Lazarus)
52 stars 18 forks source link

How to get item by absoluteindex or get absoluteindex by selected? #4

Closed ckok77 closed 2 years ago

ckok77 commented 2 years ago

Hi! I Test it,it work very good!more than devexpress cxtreelist or tms,but i can not get item by absoluteindex or reverse. like this : TreeListView1.absoluteItems[2].RecordItemsText[3] := 'Hello' or if TreeListView1.seleted.absoluteindex=5 then ... I would appreciate it if you could help me!

best regards!

ckok77 commented 2 years ago

Thank u!! I Had solute this problem by add a dynamic array to record the item address and update absoluteitem list.

Thank u again~:)