cid Posted March 8, 2019 Share Posted March 8, 2019 Hi, I need edit mask 9,999 integer value and right justified in cell stringrid Thanks function reconfigure(sender, store, columns, oldStore, the, eOpts) { for (var i = 0; i < columns.length; i++) { columns.editor = {selectOnFocus: true}; columns.setWidth(45); if (columns.getEditor()) { columns.getEditor().on('specialkey', function (field, e) { if (e.getKey() == 13) { e.keyCode = e.TAB; return e.keyCode; } }) } } } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 9, 2019 Share Posted March 9, 2019 6 hours ago, cid said: function reconfigure(sender, store, columns, oldStore, the, eOpts) { for (var i = 0; i < columns.length; i++) { columns.editor = {selectOnFocus: true}; columns.setWidth(45); if (columns.getEditor()) { columns.getEditor().on('specialkey', function (field, e) { if (e.getKey() == 13) { e.keyCode = e.TAB; return e.keyCode; } }) } } } Hello, This is the wrong code, and why do you provide this code here? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.