AD
Administrator
Syncfusion Team
September 26, 2002 05:10 AM UTC
One way you could go about this is to use a GridControl in a pseudo-virtual manner. Then in your QueryCellInfo, you would use your dataset/datatable to provide the values as requested by the row and col indexes passed in as the EventArgs. I used the term 'pseudo' since you may want to go ahead and explicity set the row and col size since they are fixed. Doing so means that you have the option of using the GridControl's internal data storage for any row/col. So, the rows and columns that are not bound to the dataset would use this 'normal' storage to maintain their values and you would not have to handle them in your QueryCellInfo as you would need to do with a pure virtual (not pseudo) grid.
To handle saving things back to your dataset, you would use the SaveCellInfo event to catch those values that should be moved back into your dataset.
AK
Amanda Kabak
September 26, 2002 11:48 AM UTC
Fantastic. I think this will work perfectly. Thanks for the tip.