on ‎2016 May 26 4:24 PM
I'm attempting to provide a CSV/Excel export from a Worklist template I've created. Have followed some examples but although I'm creating the file successfully with the column headers, I'm getting no rows back.
The worklist view included a series of filters which filter the results back and show the table on the "search" button click. I then show the "export" button in the toolbar (circled in red) and the click event SHOULD export the results of the filtered table. It doesn't though.
Any ideas why the excel/csv doesn't show the data? Am I missing a rebind of the data in the event handler before it's rendering the file?
Cheers
Tony
Request clarification before answering.
I've used the original export code to another project where the table is databound onInit and it works without modification (apart from the differing paths).
I think it's something to do with the way I populate the table. The user enters search criteria and the table is only shown once the search / filtering is done. I'm thinking that when the download button is clicked, the table is not bound using the search criteria and is therefore empty at that current stage in the life cycle. Would that make sense?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.