FFREDIANELLI Posted June 21, 2018 Share Posted June 21, 2018 Hi, exist some event similar to the 'oncolexit' of vcl dbgrid ? i use it to fill the next column depending on the value of actual. Thanks in advance for some help ! Link to comment Share on other sites More sharing options...
Wilton Ergon Posted June 21, 2018 Share Posted June 21, 2018 try onvalidate in fields query Link to comment Share on other sites More sharing options...
mhmda Posted June 21, 2018 Share Posted June 21, 2018 https://docs.sencha.com/extjs/6.2.0/classic/Ext.grid.plugin.CellEditing.html Link to comment Share on other sites More sharing options...
david_navigator Posted June 21, 2018 Share Posted June 21, 2018 How do you use the edit event shown above ? There doesn't seem to be cellModel.edit event listed under ExtEvents Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted June 21, 2018 Author Share Posted June 21, 2018 yes... how to use ?.... im a vcl programmer .... may be a little example ? Link to comment Share on other sites More sharing options...
Beginner Posted June 22, 2018 Share Posted June 22, 2018 You can use hidden panel and uniedit after uniedit- event onchange etc Link to comment Share on other sites More sharing options...
Sherzod Posted June 22, 2018 Share Posted June 22, 2018 Hi, yes... how to use ?.... im a vcl programmer .... may be a little example ? Maybe this post can help you ?!: http://forums.unigui.com/index.php?/topic/10508-update-dataset-events-in-unidbgrid/ Link to comment Share on other sites More sharing options...
david_navigator Posted June 22, 2018 Share Posted June 22, 2018 This doesn't work for me as I need to know what the user typed in the cell/edit box (UniEdit1.text - the attached control - never updates its text property) and as the attached field is a calculated one, then the field doesn't reflect what the user typed either, so for me the edit event mentioned by mohammad would be ideal. Tried something like this in the UniDBGrid ExtEvents function validateedit(editor, context, eOpts) { alert(editor.value); } but that just returned "undefined" Link to comment Share on other sites More sharing options...
Sherzod Posted June 22, 2018 Share Posted June 22, 2018 Hi, Try these properties: context.originalValue, context.value, context.rowIdx, context.colIdx, context.field Link to comment Share on other sites More sharing options...
david_navigator Posted June 22, 2018 Share Posted June 22, 2018 Marvelous. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now