EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 09, 2025, 11:39:47 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
For what is the idField in datagrid used?
Pages: [
1
]
« previous
next »
Print
Author
Topic: For what is the idField in datagrid used? (Read 11224 times)
Stefan B.
Full Member
Posts: 152
Software Architekt
For what is the idField in datagrid used?
«
on:
November 06, 2014, 08:22:57 AM »
I have a question: For what is the idField in datagrid used?
Is there an example?
Logged
jaimi
Full Member
Posts: 121
Re: For what is the idField in datagrid used?
«
Reply #1 on:
November 06, 2014, 12:08:26 PM »
...
toolbar : '#tobPferd',
url : 'pferd.act.php?frm=HOM&act=V&sel=' + vSEL,
saveUrl : 'pferd.act.php?frm=HOM&act=I&lkp=XXX',
updateUrl : 'pferd.act.php?frm=HOM&act=U&lkp=XXX',
destroyUrl : 'pferd.act.php?frm=HOM&act=D&lkp=XXX',
remoteSort : 'true',
idField : 'OLT30A001T_KEY',
queryParams : {sort: 'HOM_NAME'},
...
the idField is post(ed) to the destroyUrl. In my case it is the Primary Key Value for the Delete statement in the MySQL Query.
If you need more, let me know.
Jaimi
Logged
Stefan B.
Full Member
Posts: 152
Software Architekt
Re: For what is the idField in datagrid used?
«
Reply #2 on:
November 07, 2014, 12:31:45 AM »
THX for this example. I try it and its works.
Also it is used by the 'updateUrl'.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...