This is a migrated thread and some comments may be shown as answers.

How to implement Telerik checkbox in WPF to trigger functions while still storing original state?

1 Answer 521 Views
GridView
This is a migrated thread and some comments may be shown as answers.
4thEstate
Top achievements
Rank 1
4thEstate asked on 19 Apr 2017, 11:13 PM

How to implement Telerik checkbox in WPF to trigger functions while still remembering original state?

I have a checkbox that when checked should exclude an item in a RadGridView while still remembering the state (of the item being included), so if (or when) a user unchecks the checkbox, the item is included back in the list within the RadGridView. Essentially setting the original data back when unchecked to revert back to original data.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Apr 2017, 02:18 PM
Hello,

The built-in functionality that the control provides for such scenarios is its filtering mechanism. In order to achieve the desired result, you can filter the data programmatically based on the user interaction with the CheckBox. Please, review the referred article as it covers the topic in details.

I hope it helps.

Best Regards,
Stefan X1
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
4thEstate
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or