This commit is contained in:
2020-01-10 21:47:18 +00:00
parent 867a85c959
commit fae4ea9e2b

View File

@@ -29,10 +29,16 @@ TODO:
What it needs from it's parent form:
- form key for saving / getting persistent grid settings
- api list url
- filter id
- refresh command
- rows per page
What it needs to provide TO it's parent form
- Item click info to trigger opening edit form
- Selected items list for mass ops
What will be delivered by the server:
@@ -45,7 +51,17 @@ What will be delivered by the server:
What this grid needs to do:
- On created or refresh or change of filter
- set Loading property to true on data object
- send the get request to the server based on filter, viewport etc
- On receipt of successful response
- update the paging values
- update the persistent form settings with the current grid selections for paging etc
- generate the column headings
- fill the rows
- On fail
- Do something
- set loading property to false
*/
export default {