Filter AND/OR Logic [NEW]
datagrid({
customFilter: `
{ location } and { place-title } and
({ exclusive } or { parking } or { delivery }) and
({ family } or { romantic } or { party })`,
// ... any other DataGrid setting ....
});<!-- text filter control: data-id="location" -->
<input
type="text"
placeholder="Filter by location"
data-grid-control="text-filter"
data-path=".my-path-to-filter"
data-id="location" />
<!-- radio button control uses name instead of data-id -->
<input
type="radio"
name="color-radio"
data-grid-control="radio-filter"
data-path=".color-red"
/>Last updated