Skip to main content



      Home
Home » Eclipse Projects » NatTable » filter (filtered data)
filter [message #1843914] Tue, 24 August 2021 05:07 Go to next message
Eclipse UserFriend
Hi all,
is it possible to get a list of filtered data available on table after applying filter?


i have a nattable with 4 column (school, name, class, subject). i am using drop down filter with check box . i have applied filter in first column for xyz school now i want to apply filter on name column but on the click of drop down of the filter i would like see only list of student who belong to xyz school.
Re: filter [message #1843915 is a reply to message #1843914] Tue, 24 August 2021 07:17 Go to previous messageGo to next message
Eclipse UserFriend
IIRC this is currently not working easily because of concurrency issues. But I can't remember the details right now
Re: filter [message #1844199 is a reply to message #1843915] Mon, 06 September 2021 05:26 Go to previous messageGo to next message
Eclipse UserFriend
hi dirk
thanks for reply i have one more issue in filter part. after appalling the filter on a column , if I am trying to add new row using insertRowCommand its not working as expected.

apply the filter -->> select a row from table (row 5,row 6....)--->> then insert a new row (if the selected row is row 5 the new inserted row index will be row 6).
*new row object are satisfying the filter condition
issue:- the row was getting added on 2nd position always.
Re: filter [message #1844200 is a reply to message #1844199] Mon, 06 September 2021 05:38 Go to previous message
Eclipse UserFriend
I suppose you have to double check on which list you are operating. A FilterList is a transformed view on the original list. Inserting a new row will at the end happen on the original list. Since I don't know your code in detail I can't tell you more. But I think the issue is the understanding of the view on the list and on which list you operate.

Are you using the RowInsertCommand and the corresponding handler available in NatTable or have you implemented the row insert feature yourself?
Previous Topic:Nattable added keybindings
Next Topic:natExporter.exportMultipleNatTables tables are overlapping
Goto Forum:
  


Current Time: Wed May 14 02:09:47 EDT 2025

Powered by FUDForum. Page generated in 0.03408 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top