how get / set an specific cell value ?


Hi,

I have a grid (GridDataBoundGrid) windows and this has a property GridDataBoundGrid [int rowIndex, int colIndex] in the case of an aspx gridgroupingcontrol for a form does not have that property, there is a similar function?, what should I implement in an event of a button.

Greetings and thanks!

1 Reply

BM Bharath M Syncfusion Team March 26, 2010 06:00 AM UTC

Hi Ricardo,

Thank you for your interest in Syncfusion products.

We suggest you to use the "TopLevelTable" to get/set the visible cell values based on rowIndex and colIndex. Please refer the below code snippet to achieve this.

[CS]
void GridGroupingControl1_PreRender(object sender, EventArgs e)
{
GridGroupingControl1.TopLevelTable.Rows[rowIndex].Cells[cellIndex].Text = "Text";

}

Let me know if you have any concerns.

Regards,
Bharath

Loader.
Up arrow icon