ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: rallesaid on October 06, 2016, 01:29:22 am

Title: save button focus when there is no next cell
Post by: rallesaid on October 06, 2016, 01:29:22 am
if I add a new row, and complete all fields, how can give focus to the Save button?, currently pressing enter or tab, the editor is maintained in the last cell when this is located in the last row.
Title: Re: save button focus when there is no next cell
Post by: rallesaid on October 07, 2016, 12:53:12 am
I forgot to mention that the options
editModel: {
            keyUpDown : false,
            allowInvalid : true,
            onSave : 'nextEdit',
            onTab : 'nextEdit',
            onBlur : 'validate',
        },
Title: Re: save button focus when there is no next cell
Post by: paramvir on October 12, 2016, 04:06:01 pm
There is no inbuilt option to do it, you have to do it manually by listening to keydown event in editor and set focus on save button when there is no next cell.