Exporting GridDataBoundGrid(Classic) to delimited text file

Hi Community, 

Is there a way to sufficiently export a GridDataBoundGrid(Classic) to a delimited text file. the delimter can either be a tab, comma or semi colon I have exported to a excel file and then converted it to a text file but this process is long and i think exporting to excel isn't needed but im not sure if you can convert directly to a text file. Any help would be much appreciated ! 

Thanks in advance !! 

3 Replies 1 reply marked as answer

BT Balamurugan Thirumalaikumar Syncfusion Team May 31, 2021 03:59 PM UTC

Hi Mohammad, 

Thank you for interesting in Syncfusion products. 

We have checked your query “Is there a way to sufficiently export a GridDataBoundGrid(Classic) to a delimited text file” at our end. We regret to know that as per the implementation of GridDataBoundGrid don’t have the direct support to export the GridDataBoundGrid to text format file. However this can be achieved by copying the grid to the clipboard and then loading the data into a text file format. You can refer the following sample to achieve your scenario. 


Please let us know if you would require any other assistance. we will be happy to assist you. 

Balamurugan Thirumalaikumar  




MS Mohammed Shafeel June 1, 2021 04:49 AM UTC

Hi Balamurugan, 

Thanks for the reply ! that really helps but I was also wondering if something similar can be done for Grid Grouping Control? 

Thanks ! 


BT Balamurugan Thirumalaikumar Syncfusion Team June 3, 2021 02:44 AM UTC

Hi Mohammad, 

Thank you for the update. 

We have checked your query “I was also wondering if something similar can be done for Grid Grouping Control?” at our end. As like GridDataBoundGrid, the reported requirement can be achieved by copying the grid to the clipboard and then loading the data into a text file format. We have prepared the simple sample to achieve your requirement. You can refer the same from the following location. 


Please let us know if you would require any other assistance. We will be happy to assist you. 

Thanks & Regards, 
Balamurugan Thirumalaikumar

Marked as answer
Loader.
Up arrow icon