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 remove QueryCellInfo event handlers from child tables

Thread ID:





99478 May 23,2011 06:09 PM UTC May 25,2011 09:57 AM UTC WPF 1
Tags: GridControl
Kiran Dwarakapuram
Asked On May 23, 2011 06:09 PM UTC

I have nested tables bound to a hierarchical dataset. I register QueryCellInfo event handlers on the child table during the RecordExpanded event of the parent row. How do I remove these QueryCellInfo event handlers later on when the parent rows are deleted? I tried handling the GridDataTable.RecordDeleting event but that never fires?


Rajasekar [Syncfusion]
Replied On May 25, 2011 09:57 AM UTC

Hi Kiran,

Thanks for your update.

RecordDeleting event of the GridDataTable will be raised whenever you delete the record by pressing "Delete" key. But, It will not be raised when you delete the record in the underlying collection in the code behind.

RecordDeleting event of the dataGrid.Model is working fine. For your reference, Please find the sample in the below location,

Sample: http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=SyncGrid-288130254.zip

The similar query is posted in the Incident #80676 and we have updated the appropriate information in that respective incident too. For better follow up please update on that respective incident for further clarifications.

Please let us know if you have any queries.



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

This page will automatically be redirected to the 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