Thank you for reporting this bug. We will make it our priority to review this report.
clicking on another row when rowediting leaves empty row on screen
clicking on another row when rowediting leaves empty row on screen
I have a REST backed rowEditing grid. If I Add a new row then the rowEditor comes up correctly on a new row at the top of the grid.
(I have autoSync: false and manually sync store records to the backend when the user presses Update. I do this so that I dont create a record in the DB until the user hits Update)
If (immeadiately after hitting Add) I then go and click on an a different already existing row, the row editor moves to that row leaving an unwanted blank row at the top of the grid. I would have thought RowEditing::autoCancel would prevent this but it seems to have no effect.
No rowEditing event (eg canceledit) seems to be fired when the user leaves a row (by clicking on another). beforeEdit gets called when entering a row but this is a little too late for removing the above mentioned unwanted blank row. (grid:electionchange also gets fired but I dont think this is useful here)
So at the moment I have no way of getting rid of that unwanted blank line
PS It would be nice to set the rowEditor to "modal" so that the user is forced to Update or Cancel before anything else can happen.
Peter
clicking on another row when rowediting leaves empty row on screen
Aucun commentaire:
Enregistrer un commentaire