PDA

View Full Version : problem rendering LIst filter using FiltersFeature



namrms
21 Mar 2013, 10:19 AM
Hi ,

I have a grid similar to one below :I am using Ext version 4.0

var grid1 = new Ext.grid.GridPanel({
id: 'grid1',
store: featureJStore1,
multiSelect: true,
features: [{
ftype: 'filters',
local: false,
filters: [
{
dataIndex: 'featurename',
type: 'string'
}, {
dataIndex: 'featurelicense',
type: 'list',
store : licenseJStore1
}
]
}],
columns: [
{text: 'Features', width: 300,sortable: true, filterable: true,dataIndex: 'featurename'},
{text: 'Additional Licenses', width: 200, sortable: true, filterable: true, filter: {type: 'string'}, dataIndex: 'featurelicense'}
);

The List Filter is rendered as expected except under following scenarios :
1)The store associated with list filter is loaded such that a second request is made before the first one returns
2)The grid associated with list filter (in my case ) is hidden when filter store(licenseJStore in my case ) is loaded with data.

In the above 2 scenarios the List Menu is either distorted or shows a blank Menu as below :
42593
Please let me know how to fix this ?

Regards,
Namratha

mitchellsimoens
23 Mar 2013, 6:03 AM
Only suggestion I have is try upgrading to a new version as there were some bugs like that in 4.0

namrms
27 Mar 2013, 3:52 AM
What is the latest Ext Version Available now ?And is it backward compatible with 4.0 ? If not which version could be tried ?