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. Image for the cookie policy date

Button Grid

Hey,
Could you provide an example or a link on creating a Button cell with event handling for the click event
Cheers
Tom

1 Reply

MS Mohamed Suhaib Fahad A. Syncfusion Team May 26, 2009 11:36 AM UTC

Hi Tom,

Thanks for using Syncfusion products. Please use the below code snippet to get the cell button click event,

var button = this.grid.Model[1, 2];
button.CellType = "Button";
button.Description = "Click me";
this.grid.CellButtonClick += (sender, args) =>
{
Console.Write("Button clicked");
};

Let me know if you want any more details.

Thanks,
Fahad
Grid.WPF Team
Syncfusion Inc.,

Loader.
Live Chat Icon For mobile
Up arrow icon