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

How to capture grid celltype events.

Thread ID:





80175 Mar 18,2009 12:52 PM UTC Mar 20,2009 08:41 AM UTC WPF 3
Tags: GridControl
Asked On March 18, 2009 12:52 PM UTC

1. Some of my grid's column is check box.
How do i get the checked/unchecked events of this check box.
Is it possible to get the control inside a cell.

2. Is there a RowAdded or RowInserted event in syncfusion grid?

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On March 19, 2009 09:55 AM UTC

Hi Vijay,

Thanks for using Syncfusion products.

1) As of now, we don't have events raised inside the GridCellRenderer's for you to listen. However, you can check thru the StyleInfo as follows,

this.grid.Model[0,1].Changed += OnStyleChanged;

void OnStyleChanged(object sender, Syncfusion.Windows.Styles.StyleChangedEventArgs e)
var styleInfo = sender as GridStyleInfo;
if (e.Sip == GridStyleInfoStore.CellValueProperty)
var checkedValue = styleInfo.CellValue;

2) Is it possible to get the control inside a cell?

The grid loads the UIElement (i.e control) on demand, it has its own architecture that follows this. Hence you might find difficulty in getting the control instance instantiated always. The best way for you is to create a custom CellRenderer and have your logic placed inside that itself, In that way you can easily work without any problems.

3) RowAdded or RowInserted event?

Yes, we do have a RowsInserted routed event. You can check with our latest refresh build that is published in our website.


Please let me know if you want any more details.

Grid.WPF Team
Syncfusion Inc.,

Replied On March 20, 2009 06:56 AM UTC

Thanks Fahad,

I made it work by making use of datatemplate.

I have got a major issue now,
My application is crashing when i am removing columns from the grid. From the out put window i got an exception message like "A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in Syncfusion.GridCommon.WPF.dll".

Do i need to take care of anything while frequently adding and removing columns from syncfusion grid?


I not able to handle this exception.

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On March 20, 2009 08:41 AM UTC

Hi Vijay,

I guess you are using Model.RemoveColumns, I checked it out with a simple sample and it works for me.

Can you please send me your sample, I would like to check it out and see where the issue occurs.

Grid.WPF Team
Syncfusion Inc.,


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