Hi Dev,
Thank you for your interest in Syncfusion products.
We regret to let you know that we could not able to clearly understand your query. We need some more details regarding your scenario. Here we have provided the solution that we understood.
If you want to change the values of the cells in Grid, you can use Text or CellValue property or QueryCellInfo event. Please make use of below code,
Code Snippet:
this.gridControl1[2, 5].CellValue = "Sample_Text";
this.gridControl1.QueryCellInfo += new GridQueryCellInfoEventHandler(gridControl1_QueryCellInfo);
void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if (e.RowIndex == 2 && e.ColIndex == 5)
{
e.Style.CellValue = "Sample_Text";
}
}
Please let me know if I misunderstood your query.
Regards,
Neelakandan
Thanx kannan it solved my problem. :)
Hi Dev,
Thank you for your update.
Please let us know if you want any assistance on this. We will assist you as soon as possible.
Regards,
Neelakandan
Hi Dev,
Thank you for your interest in Syncfusion products.
We regret to let you know that we could not able to clearly understand your query. We need some more details regarding your scenario. Here we have provided the solution that we understood.
If you want to change the values of the cells in Grid, you can use Text or CellValue property or QueryCellInfo event. Please make use of below code,
Code Snippet:
this.gridControl1[2, 5].CellValue = "Sample_Text";
this.gridControl1.QueryCellInfo += new GridQueryCellInfoEventHandler(gridControl1_QueryCellInfo);
void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if (e.RowIndex == 2 && e.ColIndex == 5)
{
e.Style.CellValue = "Sample_Text";
}
}
Please let me know if I misunderstood your query.
Regards,
Neelakandan