Right now, in order to achieve that scenario I save grid dataSources into DI service. Data is not loaded and User sees all his previous modifications made. User closes grid without saving data in it.Form among other standard widgets contains custom buttons which when opened will show grid with batch edititing mode (let's call it "popup grid btn") Right now if we want to use external form, like in the following example, we need to re-implement a lot of functionality which is already present in the DataGrid: Right now if we use repaintChangesOnly mode on the data grid, there is no easy way to insert or remove records without doing full data reload when using external editing functionality. A way to achieve "repaint" editing refresh mode when using custom editing form.DataGrid has this functionality implemented internally as well. Or if that's too much to ask, at least a utility to get changes from two plain JS objects. getChanges() method on DX form to get an object with all changed fields. Public EditingController class we could use in our own applications like the one used internally by the DataGrid.Some of the things I would like to see implemented by DX: While I imagine the new events and options will be useful to some people who don't use custom stores, I think it would be a lot better if DX provided utilities which we could use in our own custom forms instead of relying on DataGrid built-in editing functionality. Handle Events Raised When Editing is Finished Angular Refer to the first example to convert this code to React, Vue, or jQuery.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |