EasyUI Forum
May 20, 2024, 12:05:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Feature Request: Panel Content Loading via POST  (Read 9018 times)
rob
Newbie
*
Posts: 8


View Profile
« on: January 31, 2014, 01:28:02 AM »

The panel href attribute can be used to request the panel content via AJAX. It would be great to have the possibility to use POST instead of (the default) GET, when there are a lot of parameters which are to big for GET.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: February 03, 2014, 08:46:45 AM »

Please try to download the updated panel plugin from http://www.jeasyui.com/easyui/plugins/jquery.panel.js and include to the page. The 'method' property can be used to set the ajax method.
Code:
<div class="easyui-panel" style="width:800px;height:400px" data-options="
        href: ...,
        method: 'post',
        queryParams: {...}
    ">
</div>
Logged
rob
Newbie
*
Posts: 8


View Profile
« Reply #2 on: February 11, 2014, 06:52:51 AM »

Thanks a lot for the quick reply, works perfect :-D
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!