i am exporting data to csv,
while exporting i want to split by every 50 records, instead of exporting all together.
(i.e, if i click "Export to CSV" it should export first 50 records, later again on clicking "Export to csv" it should export next 50 records and so on)
please, provide me some code to solve this problem.
thanks