We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

127377 Nov 10,2016 08:25 PM Nov 11,2016 07:56 AM Windows Forms 1
loading
Tags: GridListControl
Truong
Asked On November 10, 2016 08:25 PM

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";
}
}

Piruthiviraj Malaimelraj [Syncfusion]
Replied On November 11, 2016 07:56 AM

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;