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.
Up arrow icon