I'm using the RowEditing functionality for editing rows inline in a gridpanel.
I have a requirement to position the save/cancel buttons to the middle right of the row (instead of their current position which is below the row being edited in the middle)
Now, I have achieved this through extending Ext.grid.RowEditor and overriding the 'reposition' function which deals with positioning the editor and the floating save/cancel buttons.
All works well, but I'm wondering if I've gone about this the right way. The main reason I'm thinking like this is because this note in the docs under Ext.grid.RowEditor worries me:
This is a private utility class for internal use by the framework. Don't rely on its existence.
But in my case, I am relying on its existence as I'm extending it!
I'm a newbie here, so any comment/thoughts would be appreciated
Aucun commentaire:
Enregistrer un commentaire