Filament table driven by JSON data
Hi everyone, I'm trying to come up with a solution to implement a custom page (see attached screenshot).
The page will behave like a form, so to speak. Any edits won't affect the data in the DB until the user explicitly clicks "Save" below.
There are 2 components in the page:
A) Where the user defines some rules to batch update the values in B
B) Something that looks like a Table but is driven by JSON data instead of Eloquent models
As far as I understand, a regular table won't work for 2 reasons:
The page will behave like a form, so to speak. Any edits won't affect the data in the DB until the user explicitly clicks "Save" below.
There are 2 components in the page:
A) Where the user defines some rules to batch update the values in B
B) Something that looks like a Table but is driven by JSON data instead of Eloquent models
As far as I understand, a regular table won't work for 2 reasons:
- it's designed to work with Eloquent queries and models
- the ability to edit directly in each row will save on update, instead of waiting for a page-level Save action
