Hi everybody,
I need a table which I can sort when clicking on the corresponding table header. To do so I use Max Vilen's code snippet (see functionality-to-dynamically-sort-tableview-column) which looks fine.
The problem now is that the new sort order is not displayed in the iView. When I dump the content of my table model into the log (during doProcessBeforeOutput()), it seems to be fine. The entries are sorted alphabetically (A, B, Z), but unfortunately the HTML output still reads A, Z, B.
It seems to me that the SortTableModel works fine but somehow the HTML output does not reflect that. Could it be that the JSP page still accesses old/stale data(bean) ? Any hint is appreciated.
Thnx / Cheers
Heiko
Hi Heiko,
seems that your bean is not updated with the updated / sorted model!?
If this hint doesn't lead you to the solution, please provide the concerned JSP fragments as well as the fragments of the JSPDynPage.
Hope it helps
Detlev
Add a comment