Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用没有插件的 struts2 和 JQgrid。我需要将数据导出到 Excel 文件。我设置loadOnce为假分页在服务器端。
loadOnce
对于我的导出文件,我需要它包含我的数据库中的所有数据,我使用exportToExceljqgrid 函数但它不起作用。
exportToExcel
任何建议,将不胜感激。
exportToExcel 函数仅适用于本地数据,应使用 loadonce true 或 data 参数加载。有关这方面的更多信息,您可以在文档中阅读
为了在这种情况下进行导出,您需要在服务器端导出数据。