Our blazing fast Grid component built with pure JavaScript


Post by brucelee »

I have Kind of the same Problem as here but this time with the GRID

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'
  }
  ..
}
Some snippet to test here:

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

Post by brucelee »

somehow the reapplyFilterOnAdd also works when the grouping is not set within the configuration but afterwards with
grid.store.group(columnname);

Post by pmiklashevich »

Reproduced! Thanks for the report! Ticket here: https://app.assembla.com/spaces/bryntum/tickets/7641

Pavlo Miklashevych
Sr. Frontend Developer


Post by brucelee »

Nice. Thx

Post by pmiklashevich »

The fix will be a part of next major release (2.0). Release date is not planned yet. Stay tuned!

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply