Posted 6 April 2021, 12:15 am EST
Hi Team,I have requirement to download the flexgrid data into text file when click on download button.
It it feasible, If so could please help with some code sample.
Thanks,
Kranthi
Forums Home / Wijmo / General Discussion Topics
Posted by: muddam.kranthi on 6 April 2021, 12:15 am EST
Posted 6 April 2021, 12:15 am EST
Hi Team,Marked as Answer
Replied 6 April 2021, 4:24 pm EST
Hi Kranthi,let rng = new wjGrid.CellRange(0, 0, flexGrid.rows.length - 1, flexGrid.columns.length - 1);
var txt = flexGrid.getClipString(rng, true, true, true); // save CSV with column and row headers
saveFile(csv, 'FlexGrid.txt');
Replied 7 April 2021, 7:47 pm EST
Hi Ashwin,