@gridkitjs/core v0.6.0
Minor Changes#
- 26adc6f: Added filtering infrastructure:
FilterState/FilterEntry— a discriminated union of a%-wildcard text query, a typed exact-value match (type-scoped: a number never matches a string column), a custom predicate, or a nestedGroupFilterEntryfor AND/OR composition — ANDed together across top-level entries. Added the corefilterRows/setColumnFilter/clearAllFilters/filterQueryFor/matchesQueryfunctions, andresolveShownRows, which composes filtering and sorting. Seed a grid's filter withdefaultFilteronDataGridComponent. No header or toolbar UI ships yet — pre-filterdataSourceyourself with the exported functions, or seeddefaultFilter, until it does. - 26adc6f: Added multi-column stacked sorting. A header's sort toggle cycles a column
through ascending, descending, and off; Shift-click adds or updates a column
in the stack instead of replacing it, sorted in priority order. Configure
with
sortableColumns/column.sortable, seed withdefaultColumnSort, and listen withonColumnSortChange.