1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    42
    Answers
    2
    Vote Rating
    0
    anthoang is on a distinguished road

      0  

    Default Unanswered: Is it possible to have column filters on an html-based table using TransformGrid?

    Unanswered: Is it possible to have column filters on an html-based table using TransformGrid?


    We have a html-based table converted to the sencha extjs grid using the TransformGrid.js. (source taken from the examples). We would like to add filtering to the columns (i.e., selected the dropdown menu on each column's header to select filtering criteria).

    However, it seems like the column filtering feature only works if the columns has a dataIndex that matches the store's model. But since the html-based table approach doesn't require a store, this doesn't seem to be possible.

    Is there a generic way to add the filtering to the columns of an html-based table automatically?

    thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,065
    Answers
    3498
    Vote Rating
    851
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I don't see why not, the TransformGrid still uses a store, just gets the data for the store from the DOM.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1