This is the forum for JIDE Common Layer which is open sourced at
https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
Moderator: JIDE Support
Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
by dvraghu » Tue Jul 28, 2009 2:12 am
Hi,
I would like to hide a column in the SortableTable, before exporting it to the excel. Currently in the sortable table demo also, we export the icon column by using
- Code: Select all
HssfTableUtils.export(_sortableTable, chooser.getSelectedFile().getAbsolutePath(), "SortableTable", false, true, new HssfTableUtils.DefaultCellValueConverter()
Can you please let me know such an option is possible?
Regards,
dvraghu
-
dvraghu
-
- Posts: 3
- Joined: Tue Jul 28, 2009 1:01 am
by JIDE Support » Tue Jul 28, 2009 7:49 am
Is it possible for you to do a combination while exporting to excel? Please be noted that the "4" should be the model index of the column you wish to hide.
- Code: Select all
TableColumnChooser.hideColumn(_sortableTable, 4);
HssfTableUtils.export(_sortableTable, chooser.getSelectedFile().getAbsolutePath(), "SortableTable", false, true, new HssfTableUtils.DefaultCellValueConverter() {
//....
});
TableColumnChooser.showColumn(_sortableTable, 4, -1);
Thanks,
JIDE Software Technical Support Team
-
JIDE Support
- Site Admin
-
- Posts: 37219
- Joined: Sun Sep 14, 2003 10:49 am
-
by dvraghu » Tue Jul 28, 2009 9:48 am
Hi Support Team,
Thanks for the very quick reply. Actually I could able to find this workaround myself.
Never expected such a prompt and useful reply in a quick time.
JIDE Rocks
Regards,
dvraghu
-
dvraghu
-
- Posts: 3
- Joined: Tue Jul 28, 2009 1:01 am
Return to JIDE Common Layer Open Source Project Discussion (Community Driven)
Who is online
Users browsing this forum: No registered users and 77 guests