Menu

#3 filtering for the dataGrid

open
None
5
2006-12-04
2006-11-30
sabates81
No

The dataGrid is a very powerful widget. The most obvious feature that it is lacking is a column filter widget. Is this planned to be implemented?

Discussion

  • Olivier Oeuillot

    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.

     
  • Olivier Oeuillot

    • assigned_to: nobody --> oeuillot
    • status: open --> pending
     
  • sabates81

    sabates81 - 2006-12-04
    • status: pending --> open
     
  • sabates81

    sabates81 - 2006-12-04

    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)

     

Log in to post a comment.