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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC : Push Button and Link Button cell types

Thread ID:





39301 Jan 4,2006 08:05 AM UTC Jan 4,2006 10:36 AM UTC WinForms 2
Tags: Grouping
Asked On January 4, 2006 08:05 AM UTC

I need to use a push button cell type in my grouping grid. How do I set the text in the push button? And how do I define an action on click of a push button in a particular cell? Do you have a sample that does this? Also is there a sample where you have added a cell type of a link button? Thanks.

stanleyj [Syncfusion]
Replied On January 4, 2006 09:44 AM UTC

Hi Anupama, The text on the PushButton is set through the Description property. TableControlPushButtonClick is raised when a PushButton ic clicked. The cell information can be collected from that handler. private void gridGroupingControl1_TableControlPushButtonClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellPushButtonClickEventArgs e) { GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(e.Inner.RowIndex, e.Inner.ColIndex); Console.WriteLine(e.TableControl.TableDescriptor.Name +" "+ style.TableCellIdentity.Column.Name +" "+e.Inner.RowIndex); } >> Also is there a sample where you have added a cell type of a link button? Refer this sample in Syncfusion\Essential Studio\\windows\Grid.Windows\Samples\CellTypes\LinkLabelCells to see if that helps. Best regards, Stanley

Replied On January 4, 2006 10:36 AM UTC

Thank you. That helped.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon