Hello,
I am trying to do the following but I cannot figure out what is the best approach.
I have a ListGrid, where users can filter the shown data. I would like to get this filtered data, open a new smartgwt window (or tab, etc, this is unimportant) , show there a new ListGrid with only this filtered data, so the users cannot remove the filter from the second grid, and finally do something with those records.
I have the code for doing an excel export from a listgrid, which only exports the filtered data, ... what I am trying to do is something similar: "do something" with only the filtered data from a listgrid, just like the excel export function:
DSRequest dsRequestProperties = new DSRequest();
dsRequestProperties.setExportAs((ExportFormat)EnumUtil.getEnum(ExportFormat.values(), "xls"));
dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
dsRequestProperties.setOperationId(grid.getFetchOperation());
grid.exportData(dsRequestProperties);
What is the best approach using SmartGWT 3.0 EE ?
Thank you
I am trying to do the following but I cannot figure out what is the best approach.
I have a ListGrid, where users can filter the shown data. I would like to get this filtered data, open a new smartgwt window (or tab, etc, this is unimportant) , show there a new ListGrid with only this filtered data, so the users cannot remove the filter from the second grid, and finally do something with those records.
I have the code for doing an excel export from a listgrid, which only exports the filtered data, ... what I am trying to do is something similar: "do something" with only the filtered data from a listgrid, just like the excel export function:
DSRequest dsRequestProperties = new DSRequest();
dsRequestProperties.setExportAs((ExportFormat)EnumUtil.getEnum(ExportFormat.values(), "xls"));
dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
dsRequestProperties.setOperationId(grid.getFetchOperation());
grid.exportData(dsRequestProperties);
What is the best approach using SmartGWT 3.0 EE ?
Thank you
Comment