This commit is contained in:
@@ -59,13 +59,27 @@ What this grid needs to do:
|
||||
- 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
|
||||
|
||||
- generate the column headers
|
||||
- They will have locale keys so this grid fetches the keys as necessary at this point as it could change dynamically almost
|
||||
- Generate the Item slot template (which I've never done in code before but only in the template itself so needs research)
|
||||
- set the property names in the incoming data to the correct matching headers
|
||||
- set display filters based on locale settings (i.e. currency, datetime filter which converts to local time offset etc)
|
||||
- fill the rows
|
||||
- format?
|
||||
- On fail
|
||||
- Do something
|
||||
- set loading property to false
|
||||
|
||||
|
||||
|
||||
TODO:
|
||||
- At server widgetlist route:
|
||||
- Modify route to accept vp paramenter for small viewport
|
||||
- Add mock column data and include it in the response for grid queries
|
||||
- modify server to return alternate list of just names and id's if vp paramenter is present and xs (may be other values in future so check for xs specifically)
|
||||
- this route could actually be just a defined c# object since it's always going to be one column and one id like namevalue list
|
||||
- full width all columns though would be different kettle of fish entirely so this is a good time to experiment and figure it out
|
||||
|
||||
*/
|
||||
export default {
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user