iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
We need to have the export feature export all rows regardless of how many rows the user currently has loaded in the grid. So if the user is viewing 200 of 10,000 records and uses export, we want to export all 10,000 records.
It seems VirtualPageSize property will be used to determine the number of rows to be exported under certain scenario, as mentioned in this thread.
A bug report has been submitted for this issue.
Hi Yousif,
May I know your setting for PagingMode property? If you set it to ClassicPaging, you need to set PagingExportMode to ExportAllData. But if you set it to VirtualPage with default VirtualLoadMode, all record will be exported automatically.
Please notes that if you set VirtualLoadMode to custom the export data that will be exported is depend on number set in VirtualPageSize.
Regards,
Julia
Thanks Julia. Our current settings for PagingMode is VirtualLoad and LargeData & ExportCurrentPageView for VirtualLoadMode and PagingExportMode respectively. I also tried ExportAllData but that didn't work, but it's because we're not using VirtualLoad.
I also tried setting the VirtualLoadMode to Default per the paragraph from the documentation which seems to not be correct:
Using LargeData option in the VirtualLoadMode property restricts the users to export ALL the data. Only a certain batch of data which has been retrieved by users, will be exported to the medium. Therefore, in order to export ALL data, the VirtualLoadMode property needs to be configured to Default option temporarily and invokes the RebindDataSource() method.
This is how I make the change inside the OnExport handler that I've overridden:
ISNet.WebUI.WebGrid.VirtualLoadMode enumTempMode = this.LayoutSettings.VirtualLoadMode; this.LayoutSettings.VirtualLoadMode = ISNet.WebUI.WebGrid.VirtualLoadMode.Default; bool bRet = base.OnExport(table,dataSource,reportInfo,ref outputFile); // now set back this.LayoutSettings.VirtualLoadMode = enumTempMode;
None of the changes worked. The only way I'm able to export all records is to set the VirtualPageSize to the all rows in our DataSource and then set it back after the export.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname