Removing row from SortableTable

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.

Removing row from SortableTable

Postby govindaxp » Wed Jul 23, 2008 9:01 pm

Hi,
Is it possible to remove row from sortable table if yes then how??
govindaxp
 
Posts: 5
Joined: Mon Jul 07, 2008 11:55 pm

Postby JIDE Support » Wed Jul 23, 2008 9:22 pm

Removing row actually has nothing to do with SortableTable. You just remove it from your original table model and fireTableRowDeleted event. If your original table model is DefaultTableModel, there is removeRow method. If you are using AbstractTableModel, then you need to implement your own remove row logic. Whatever it is, the row will be removed automatically from SortableTable if you remove it from the original table model.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Postby govindaxp » Wed Jul 23, 2008 9:32 pm

thanks i was not firing the event .
govindaxp
 
Posts: 5
Joined: Mon Jul 07, 2008 11:55 pm


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

Who is online

Users browsing this forum: No registered users and 58 guests