How to get list of updated columns after selecting/deselecting from sfDataGrid using columnchooserpopup?

I had set datasource of sfdatagrid to a datatable.
And set a syncfusion columnchooserpopup that hides/unhides column.
I have following issues facing right now.
1) How do I get list of columnnames that are selected or unselected?
Reason for this: I want to export sfdatagrid data to excel/pdf with the columns that are only selected in  columnchooserpopup. If there is any other way, please let me know.


2) How do I save the checked/unchecked columns in columnchooserpopup? 

3) If I had list of columnnames to show or not to show, how shall I programatically apply in columnchooserpopup?


Please provide me code in VB.NET 



1 Reply

MS Madhavan Sathapillai Syncfusion Team November 24, 2023 05:28 PM UTC

Hi Urvik,

We have prepared a simple sample that meets your requirements. Please refer to the attachment. Please let us know if you have any further queries regarding this. We are happy to assist you.


Regards,

Madhavan S



Attachment: WindowsApp1_811006b7.zip

Loader.
Up arrow icon