PDA

View Full Version : Getting error : Error: Ext.ux.grid.GridFilters is not a constructor



Krishnia
2 Oct 2011, 11:19 PM
Hi,

am using
GetGridBuilderFor for grid building for a list type, but getting error
Error: Ext.ux.grid.GridFilters is not a constructor
Source File: http://mses.local/Suppliers/Item/15
Line: 580



Ext.onReady(function(){
Ext.QuickTips.init();
var myData = [
['https://www.sencha.com/Content/images/links/play.png (https://www.sencha.com/Suppliers/Item/22)','3c785728-8731-4043-8174-1aade90c495e (https://www.sencha.com/Suppliers/Item/22)','https://www.sencha.com/Content/images/links/detailslist.png (https://www.sencha.com/PurchaseDetails/Index/22)https://www.sencha.com/Content/images/links/edit.png (https://www.sencha.com/Suppliers/Edit/22)https://www.sencha.com/Content/images/links/delete.png (https://www.sencha.com/Suppliers/Delete/22)'] ];
var store = new Ext.data.ArrayStore({
fields: [{name: 'gotoitem'},{name: 'Id' ,type: 'string'},{name: 'Operations'}]
});
store.loadData(myData);
var filters = new Ext.ux.grid.GridFilters({
local: true,
filters: [
{type: 'string', dataIndex: 'Id'}
]});

every things seem fine but where is the problem.

Please suggest.

Gary Schlosberg
9 Nov 2015, 6:34 AM
How are you including that user extension in your code?