You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used customRender to do inline edits to data in individual cells.
It seems like I have these options for after i call the server
Visually, the value has changed in the table. I can trust that the server updated the data correctly and continue with the same data array.
I can update the state of my data array, which will force a new render of MUIDataTable. All my sorts go away.
If there are errors from the server, I can catch them and diplay a red "The update did not work" on the top of the screen. The screen will still have the new value, but I've given a visual cue to the user that something went wrong.
I'm leaning toward 3, but would like to hear what people think.
The text was updated successfully, but these errors were encountered:
teadams
changed the title
Need advise -- Inline Updates
Advice? -- Inline Updates
May 25, 2018
I've used customRender to do inline edits to data in individual cells.
It seems like I have these options for after i call the server
I'm leaning toward 3, but would like to hear what people think.
The text was updated successfully, but these errors were encountered: