EasyUI Forum
September 14, 2025, 11:04:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Edatagrid how to add additional parameter to saveurl  (Read 6551 times)
markalves
Newbie
*
Posts: 15


View Profile
« on: July 11, 2017, 09:06:11 AM »

Hi to all,
I would like to add additional parameters to the save url php script:
I tried to add these parameters to the url but they are not received from the saverow script either in POST or in GET,  in this way:
saveUrl: http://webserver.local/saverow.php?param1=1&param2=100
How I can do  Huh

Logged
cbutaru
Newbie
*
Posts: 4


View Profile
« Reply #1 on: July 12, 2017, 12:09:22 PM »

Hi markalves,
You can try to add some hidden fields with the values of your additional parameter
as <th field="param1" data-options="hidden:true  ..
If you cannot set the values for these parameters within the datagrid data
you can use calculated fields, assuming that this parameters values are changing
at the same time with the values in edited fields.
https://www.jeasyui.com/tutorial/datagrid/datagrid15.php
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!