Multiple filters and multiple sorts of column are already implemented !
I will make some "snipplets" to explain, how to do it !
There several things to do :
- Your DataModel must implement IFiltredModel or/and ISortedDataModel
- In Javascript, you can call dataGrid.f_setFilterProperty(name, value) to change your filter. (And Rcfaces will reload the table)
You can look at the AddressBook war for a sample ...
DataModel: class CardBookDataModel
JS: function addressBook_filterDirectory(event) [addressBook.js]
Regards,
Olivier.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're right! I didn't see the filtering capability that is shown on the Address Book example. That is a nice feature. However, I was hoping that the table would be able to do an auto filter for each column similar to what MS Excel does. I have seen this feature done in QuipuKit. (Sorry for the comparisons)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=306652
Originator: NO
Multiple filters and multiple sorts of column are already implemented !
I will make some "snipplets" to explain, how to do it !
There several things to do :
- Your DataModel must implement IFiltredModel or/and ISortedDataModel
- In Javascript, you can call dataGrid.f_setFilterProperty(name, value) to change your filter. (And Rcfaces will reload the table)
You can look at the AddressBook war for a sample ...
DataModel: class CardBookDataModel
JS: function addressBook_filterDirectory(event) [addressBook.js]
Regards,
Olivier.
Logged In: YES
user_id=1580697
Originator: YES
You're right! I didn't see the filtering capability that is shown on the Address Book example. That is a nice feature. However, I was hoping that the table would be able to do an auto filter for each column similar to what MS Excel does. I have seen this feature done in QuipuKit. (Sorry for the comparisons)