GridListContorl in GridDataBoundGrid control

I change celltype to GridListContorl in GridDataBoundGrid control and set to the datasource.

GridDataBoundGrid.GridBoundColumns[4].StyleInfo.DataSource = DataTable

The issue is when I click a cell it will display previous row value, not the current row value


1 Reply

NA Nisha Arockiya A Syncfusion Team February 19, 2009 02:01 PM UTC

Hi Nalin,

Thanks for your interest in Syncfusion Products.

I have tried to prepare a sample with the following code snippet.

GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
MessageBox.Show(this.gridDataBoundGrid1[cc.RowIndex, cc.ColIndex].CellValue.ToString());


I could not able to reproduce the issue of when I click a cell it will display previous row value, not the current row value as you mentioned above. Please refer to the sample below.

http://websamples.syncfusion.com//samples/Grid.Windows/Development/GDBG_GLC.zip

Please let me know if this helps.

Regards,
Nisha.




Loader.
Up arrow icon