Display selected rows and filtered rows

Hi,

In our windows application form, we have a datagrid with 2 columns. One is a checkboxcolumn and another one is a normal textdatacolumn. I have a scenario to implement. I will choose 2 or 3 rows from the grid randomly by clicking on the checkbox in each row. Then I will filter a few rows. I want to show the selected rows (the ones which I chose before filtering) and the filtered rows together. How can I implemethis?


Thanks,

Sreedevi


8 Replies

BT Balamurugan Thirumalaikumar Syncfusion Team July 2, 2021 09:04 AM UTC

Hi Sreedevi, 

Thank you for interesting in Syncfusion products. 

We could understand your query “Display selected rows and filtered rows” at our end. Based on the provided details, you mentioned DataGrid control in the query and GridControl was selected in the forum. We little unclear with which control you're using right now. Please let us know whether you're using GridControl or SfDataGrid control. It will more help us to check further and provide you the earliest solution. 

Thanks & Regards, 
Balamurugan Thirumalaikumar


SU Sreedevi U V replied to Balamurugan Thirumalaikumar July 2, 2021 11:10 AM UTC

I am using SfDataGrid 



BT Balamurugan Thirumalaikumar Syncfusion Team July 5, 2021 01:49 PM UTC

Hi Sreedevi, 

Thank you for the update. 

We have could understand your query at our end. We are checking the possibilities to achieve the reported scenario. Will update you the proper details on July 07,2021. We appreciate your patience till then. 

Balamurugan Thirumalaikumar  




SU Sreedevi U V replied to Balamurugan Thirumalaikumar July 5, 2021 02:50 PM UTC

Thank you so much



BT Balamurugan Thirumalaikumar Syncfusion Team July 6, 2021 10:07 AM UTC

Hi Sreedevi, 

Thank you for your update. 

We are working on the reported query will update you the proper details as we promised. We appreciate your patience till then. 

Regards 
Balamurugan.Thirumalaikumar 



BT Balamurugan Thirumalaikumar Syncfusion Team July 7, 2021 12:56 PM UTC

Hi Sreedevi, 
 
Thank you for your patience. 
 
On further analysis of the scenario, As per the current behaviour of SfDataGrid control, it does not have built-in support for displaying the filtered and selected records together. However, we have prepared a simple sample in which you can manually add the selected records to FilterPredicates to achieve your scenario. Please refer the sample below for your reference. 
 
 
Please let us know if you require further assistance from us. 
 
Regards 
Balamurugan.T 



SU Sreedevi U V July 7, 2021 01:13 PM UTC

Hi  Balamurugan,


Thank you so much.


Thanks,

Sreedevi



MA Mohanram Anbukkarasu Syncfusion Team July 8, 2021 05:02 AM UTC

Hi Sreedevi, 

Thanks for the update.  

Please let us know if you require any other assistance from us.  

Regards, 
Mohanram A. 


Loader.
Up arrow icon