EasyUI Forum
May 15, 2024, 07:00:43 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: multiple window used repeatedly  (Read 4702 times)
felix9520
Newbie
*
Posts: 3


View Profile
« on: April 26, 2016, 02:08:43 AM »

Hi guys, I got a problem on using easyui.window.

I've got a datagrid in my basic page, and I need to pop up a 2nd window 2 add or edit one row for the datagrid. and in the 2nd window, I need to pop up the 3rd window to do some data selecting for the 2nd windows form.

At the first time they work just fine, but since the 2nd time I can't get any data show on the 3rd window.

I checked the data provider works just fine. And I tried 'refresh' and 'clear' method but they didn't work out. How can I solve this?

I'm thinking it's something about cache isn't it?

Apology for my poor English~

Logged
felix9520
Newbie
*
Posts: 3


View Profile
« Reply #1 on: April 26, 2016, 06:33:33 PM »

If I use
Code:
onClose: function () { $("#popDiv").panel("clear"); }
then I can get data render on the 3rd window, but I can't close it by
Code:
$('#popDiv').window('close');

help~~ Cry
Logged
felix9520
Newbie
*
Posts: 3


View Profile
« Reply #2 on: April 27, 2016, 12:02:53 AM »

solved~
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!