ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
clicksToEdit: 1
« previous
next »
Print
Pages: [
1
]
Author
Topic: clicksToEdit: 1 (Read 1486 times)
mscodigno
Pro Deluxe
Newbie
Posts: 24
clicksToEdit: 1
«
on:
March 09, 2021, 06:21:56 pm »
Hello, there is "clicksToEdit: 1" parameter in the editing model, but when you click on another cell while the textbox is open, it first closes the textbox and opens the editor at the second click. Can I do this with one click?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: clicksToEdit: 1
«
Reply #1 on:
March 09, 2021, 09:08:12 pm »
It works with single click. Please check this example:
https://paramquery.com/pro/demos/editing_custom
Logged
mscodigno
Pro Deluxe
Newbie
Posts: 24
Re: clicksToEdit: 1
«
Reply #2 on:
March 10, 2021, 08:21:08 pm »
Can you examine this example? "clicksToEdit: 1" but does not work;
https://jsfiddle.net/p7bnts9z/1/
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: clicksToEdit: 1
«
Reply #3 on:
March 10, 2021, 08:56:46 pm »
That's prevented by call to refresh inside cellSave event
Code:
[Select]
cellSave: function() {
//this.refresh(); comment it.
},
Now it works fine:
https://jsfiddle.net/6nkqyp97/1/
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
clicksToEdit: 1