I need to set a text value to current cell ( not a hard set ) when i click a button , i try CellInfoEventHandler but can not do it

I need to set a text value to current cell ( not a hard set ) when i click a button , i tryCellInfoEventHandler can not do it , it change the chosen cell value when i clicking on this cell , not when i click on button , how to slove that

private void Grid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if (e.RowIndex == gridListControl1.Grid.CurrentCell.RowIndex && e.ColIndex == 2)
{
e.Style.Text = "5";
}
}

1 Reply

PM Piruthiviraj Malaimelraj Syncfusion Team November 11, 2016 12:56 PM UTC

Hi Truong, 

Thanks for the update. 
 
We have provided the solution for this query in forum #127335. Please follow-up with that forum and let us know if you have any other queries. 
 
Regards, 
Piruthiviraj 


Loader.
Up arrow icon