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
»
isDirty not true after edit
« previous
next »
Print
Pages: [
1
]
Author
Topic: isDirty not true after edit (Read 2522 times)
arbyter
Pro Ultimate
Newbie
Posts: 43
Retired IT Guy
isDirty not true after edit
«
on:
March 11, 2019, 11:15:57 pm »
hi
1. i took row-editing as example and adapted it to this script:
https://next.plnkr.co/edit/Hysibr1C6QgJCjaD?preview
i dont find out why the row after editing is not considered as dirty.
(it never reaches the alert)
2. i would like to have each field of cht active record opend in editmode, so i can move the focus just by tab. No need to click on each field in the active row.
Any hint to achieve this behaviour?
Thank you in advance
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: isDirty not true after edit
«
Reply #1 on:
March 12, 2019, 02:31:03 pm »
1. Add trackModel: {on: true} and add recIndx ( primary key field name ) to dataModel.
2. Use editModel
Code:
[Select]
editModel:{
onSave:"nextEdit",
onTab:"nextEdit"
},
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
isDirty not true after edit