Wilton Ergon Posted June 27, 2019 Share Posted June 27, 2019 columns in the numerical grid now by pressing up or down arrow, change the value of the field, incrementing by 1 or reducing by 1 the value, this has generated huge problem in my clients after this behavior has been added. Is it possible to disable this? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 27, 2019 Share Posted June 27, 2019 3 hours ago, wilton_rad said: columns in the numerical grid now by pressing up or down arrow, change the value of the field, incrementing by 1 or reducing by 1 the value, this has generated huge problem in my clients after this behavior has been added. Is it possible to disable this? Hello, Which build are you using? What type of your field, can you explain in more details? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted June 27, 2019 Author Share Posted June 27, 2019 build 1.90.0.1504, field integer or decimal(12,2) database sql server. on any grid example in the demos folder, access a numerical column edit, and pressing the up or down arrows changes the value. I believe that this behavior should only be this way if the property NumericEditorHideTrigger = False this property NumericEditorHideTrigger should be possible to configure per column, not to the entire grid. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 28, 2019 Share Posted June 28, 2019 22 hours ago, wilton_rad said: Is it possible to disable this? Hello, Are you using an editor? If yes, you can assign, let's say UniSpinEdit1 and use these configs: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniSpinEdit1.JSInterface do begin JSConfig('keyNavEnabled', [False]); JSConfig('mouseWheelEnabled', [False]); JSConfig('hideTrigger', [True]); end; end; 1 Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted June 28, 2019 Author Share Posted June 28, 2019 I do not use editor, nor can I, because spinedit in my case would not be legal, just that the column is numerical to have this behavior, this was not the case in previous versions, I know that the NumericEditorHideTrigger option can be very useful in some cases, but in my case it only disrupts the typing. I still believe that activating the NumericEditorHideTrigger option where it causes the spinedit to appear, it would only be in that case that the arrows should work to change the value, if the spinedit is not shown the arrows should also not change the value. this would maintain compatibility with existing versions. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 29, 2019 Share Posted June 29, 2019 Please send a request to the support portal, maybe it will be added as a new property. 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.