Hello jide,
I am a newbie to jide and I have questions related to AggregateTable.
1) Should the AggregateTableModel automatically change whenever the underlying actual table model changes due to new rows/columns? I did a small test where I create a AggregateTable with a DefaultTableModel, and whenever new rows/columns are inserted to DefaultTableModel, nothing happens to AggregateTableModel. What should I do to ensure AggregateTableModel refreshes after underlying TableModel changes?
2) While doing this test, I passed an empty DefaultTableModel arg (0 rows, 0 columns) to AggregateTable because I wanted to add data asynchronously. However AggregateTable generated the following exception. (Maybe because it requires a TableModel with at least 1 column?)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jidesoft.pivot.AggregateTableModel.setAggregatedColumns(Unknown Source)
at com.jidesoft.pivot.AggregateTableModel.<init>(Unknown Source)
at com.jidesoft.pivot.AggregateTableModel.<init>(Unknown Source)
at com.jidesoft.pivot.AggregateTable.<init>(Unknown Source)
Thanks for your help,
Jose