javascript - ExtJS GridHeaderFilters not a constructor -
i'm trying add row filters in extjs , i'm getting error in firefox:
typeerror: ext.ux.grid.gridfilters not constructor
i'm going off of this model. there better way add row filters xmlstore?
plugins: [new ext.ux.grid.gridheaderfilters()], columns: [{ text: 'title', width: 150, dataindex: 'title', filter: [{xtype:"textfield"},{xtype:"textfield"}] }, { text: 'description', flex: 1, dataindex: 'description', filter: [{xtype:"textfield"},{xtype:"textfield"}] }, { text: 'modified', width: 90, dataindex: 'modified', xtype: 'datecolumn', format: 'm/d/y' }], filter: { xtype: "combo", mode: "local", store: [["a","type1"],["b","type2"]], triggeraction: "all" }
first, plugin written ext js 3.x (released 2009?) , fiddle loads ext js 6.x. there have been significant changes between 2 versions. fiddle doesn't load plugin source, can't initiated.
assuming you're using 6.x, ext js examples have reference: http://examples.sencha.com/extjs/6.5.1/examples/classic/grid/filtered-buffered-store.html
Comments
Post a Comment