Dynamic footer column in TableScrollPane

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.

Dynamic footer column in TableScrollPane

Postby ShepSmith » Fri Jul 09, 2010 3:23 am

Hello everyone,

I am currently using the TableScrollPane component with a JXTable. When the user first opens the panel, I display a JXTable in a TableScrollPane with no row and column footer. Then, when a user pushes a button, I want to display a row footer and a column footer containing the sum of all columns and rows respectively (pretty much like in your TableScrollPane demo).
So I have the original MultiTableModel that I use for the original table, and another MultiTableModel used for summing up the values.
When I call setFooterTableModel, I can see the row footer, which works fine. My question is, how can I display a column footer on demand like I'm doing right now with the row footer?

Note : I do not want to create a special footer column in the model for my original table, because the stuff with the sum should be completely optional (triggered on demand).

Any help would be appreciated.

Best regards,
Shep
ShepSmith
 
Posts: 1
Joined: Fri Jul 09, 2010 3:09 am

Re: Dynamic footer column in TableScrollPane

Postby JIDE Support » Fri Jul 09, 2010 3:24 pm

Would you please share with us a test case to investigate further? I tried the attached demo and could not notice any issue.

Thanks,
Attachments
TableScrollPaneDemo.java
(14.14 KiB) Downloaded 1058 times
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 74 guests