ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: arbyter on May 27, 2019, 08:23:22 pm

Title: clicksToEdit:2
Post by: arbyter on May 27, 2019, 08:23:22 pm
hi Paramvir
i want entering in editmode only be doubleclick. I tried to add clicksToEdit:2 in the https://paramquery.com/pro/demos/editing_custom example.
..
editModel: {
      clicksToEdit:2,
                saveKey: $.ui.keyCode.ENTER,
                //filterKeys: false,
                keyUpDown: false,
                cellBorderWidth: 0
            },
..

It did not change the behaviour. Editor still starts by pressing any key.
Title: Re: clicksToEdit:2
Post by: paramvir on May 27, 2019, 09:35:52 pm
Please use editModel.pressToEdit = false

https://paramquery.com/pro/api#option-editModel