Is direct record access possible for TDAMemDataTable?

Is it possible to access arbitrary TDAMemDataTable records via the record index (RecNo) without changing the cursor (locate)

I am using devexpress grids and I wish to use something like client side calculated fields
However now I have to do this by using invisible columns in the grid for fields I wish to use to display the data.

I would like to access the TDAMemDataTable from an OnGetDisplayText using the record index.
Can this be done? Preferrable in ~O(1)


I can suggest to use ClonedSource feature. It allows to access to the same record set via cloned tables.
each table (main or cloned) can have personal sorting, filtering, m/d relation, etc

check the ClonedSource sample for more details.

1 Like