Help me with QuickTableFilterField & DefaultGroupTableModel

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

Help me with QuickTableFilterField & DefaultGroupTableModel

Postby CHEM_Eugene » Thu Sep 15, 2011 6:06 am

Hello!

When I select only one column for search by this filter, filter is always searching also by group columns. How I can disable search in grouped columns if I need to search only in exactly one?
CHEM_Eugene
 
Posts: 4
Joined: Thu Sep 15, 2011 5:49 am

Re: Help me with QuickTableFilterField & DefaultGroupTableMo

Postby JIDE Support » Thu Sep 15, 2011 8:21 am

Please try to install FilterableTableModel before you install DefaultGroupTableModel. Please give JIDE GroupTableDemo a look about the implementation idea although that's for AutoFilterTableHeader instead of QuickTableFilterField.

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

Re: Help me with QuickTableFilterField & DefaultGroupTableMo

Postby CHEM_Eugene » Thu Sep 15, 2011 11:23 pm

Please try to install FilterableTableModel before you install DefaultGroupTableModel.


My current code:

Code: Select all
QuickTableFilterField quickSearchField = new QuickTableFilterField();
FilterableTableModel filterableTableModel = new FilterableTableModel(treeTableModel);
DefaultGroupTableModel groupTableModel = new DefaultGroupTableModel(filterableTableModel);
quickSearchField.setTableModel(groupTableModel);


And so it works as me mentioned above.
CHEM_Eugene
 
Posts: 4
Joined: Thu Sep 15, 2011 5:49 am

Re: Help me with QuickTableFilterField & DefaultGroupTableMo

Postby JIDE Support » Fri Sep 16, 2011 7:19 am

With your code, DefaultGroupTableModel is installed before FilterableTableModel. Please give the following code a try.
Code: Select all
QuickTableFilterField quickSearchField = new QuickTableFilterField();
quickSearchField.setTableModel(treeTableModel);
DefaultGroupTableModel groupTableModel = new DefaultGroupTableModel(quickSearchField.getDisplayTableModel());

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


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron