viewtopic.php?f=44&t=10487&p=56999&hili ... 81a#p56999
I'm using 1.2.1
My Grid has a Grouping specified with
{
...
features: {
group: 'columnname'
}
..
}
1. BASE
grid.store.data = ....
grid.store.add(newObj); // new Entry is shown in the Grid within group (grouping configure)
grid.store.filter(column, val); // filter finds newObj as well
2. DEFAULT config
grid.store.data = ....
grid.store.filter(column, val); // filter finds newObj as well
grid.store.add(newObj); // new Entry is NOT shown in the Grid within group, which is OK since reapplyFilterOnAdd is not true
3a. reapplyFilterOnAdd
grid.store.data = ....
grid.store.reapplyFilterOnAdd = true;
grid.store.filter(column, val); // filter finds newObj as well
grid.store.add(newObj); // new Entry is NOT shown in the Grid within group, which is NOT OK since reapplyFilterOnAdd is true
grid.store.clearFilters(); // the new Entry is shown in the grid
3b.
grid.store.data = ....
grid.store.filter(column, val); // filter finds newObj as well
grid.store.reapplyFilterOnAdd = true; // <- this time after .filter
grid.store.add(newObj); // new Entry is NOT shown in the Grid within group, which is NOT OK since reapplyFilterOnAdd is true
PS: with removed group-configuration the reapplyFilterOnAdd works fine