Lattice Grid Buy a licence

The grid (core) ยท console.warn

config.hostFilter is not sent to a server-delegated source (paged/remote) and is not applied: filtering only the fetched window would give wrong counts and totals. Express the filter as a FilterSet condition, or send it through config.context.

Printed by The grid (core), prefixed [lattice], since 1.16.0.

Warnings referencesource.remote.hostFilter

Identifier
source.remote.hostFilter
Raised by
The grid (core)
Since
1.16.0

What happened

A hostFilter is application logic the grid cannot serialise, so it cannot be sent to a server. Applying it locally would filter only the rows already fetched, which makes the count, the totals and the scroll length all describe a different set from the one on screen - so it is not applied at all.

The fix

Express the narrowing as a declarative filter condition the source can send, or pass whatever the server needs through config.context.

Reference

Covered in full at the API reference.