Closed skmohit05 closed 2 years ago
Hi, Mohit, You are modifying the table model without notifying the table of the change. If you modify the table model, you should issue an event notifying any listeners of the fact:
model.removeOneColumn(); model.fireTableStructureChanged();
Otherwise, listeners -like the FilterHeader will not know of the changes you are carrying on...
Best regards,
L/
On Fri, Jun 12, 2020 at 12:54 PM Mohit Kumar Meena notifications@github.com wrote:
In the attached working example when I try to remove the column at index 1 in the table i get the error in filter code as an array index out of bound. Downloads.zip https://github.com/coderazzi/tablefilter-swing/files/4770373/Downloads.zip
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/coderazzi/tablefilter-swing/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH54ILDT4H4C2UFDEC2GY3RWICPDANCNFSM4N4HCGIA .
In the attached working example when I try to remove the column at index 1 in the table i get the error in filter code as an array index out of bound. Downloads.zip