Data Grid Server Query
- from @gridcn
- by gridcn
The server half of a server-driven gridcn grid: a column map that is the allow-list and the projection, parseQuery that turns an untrusted grid request into a bounded, typed query plan (escaping, null and blank rules, number and day bounds, limits), handleGridRequest for a route handler, and describeFilterOperators so the filter UI offers only what the server accepts. Add an ORM adapter to run the plan.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @gridcn/data-grid-server-queryRegistry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.