Jump to content


Yoni

Member Since 22 Jan 2019
Offline Last Active Jan 29 2019 04:12 PM
-----

Topics I've Started

NextGrid v6 API clarifications

22 January 2019 - 03:58 PM

I've a data source which I fetch data from in asynchronous way (100 rows each time up to 10,000 rows) The data arrives as XML so I parse and convert it to my internal data structure (let us assume this is a TList<TMyData> )

 

I would like to show the data in the gird as it arrives (I don't want to wait until I first fetch all the data). 

 

My understanding from the documentation is that I need to add to the grid the number of new rows that arrives each time and then set each cell with the with values. Am I right?  

 

Aside from that the documentation wasn't clear about couple more subjects:

1. When I set the cells values? 

2. How do I bind a row in the grid to the my own data source (TList<TMyData> ) so that when the user clicks on a row I'll know which TMyData was selected. 

 

 

Thanks, 

Yoni