EasyUI Forum
June 17, 2024, 07:40:40 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: find tabs by id.a bug with treegrid  (Read 7781 times)
dailyblog
Newbie
*
Posts: 30


View Profile Email
« on: November 13, 2016, 07:56:39 AM »

hey,how to get tabs by tab id?
there could be the same title of child menu under different parents.so when i click one of them,different tab should be added with the same title.can you add methods as "existByid","selectById" .

In addition,i found there is a bug with treegrid with checkbox.After data was loaded  and some rows were checked,reload treetrid.You will find the checkbox can not be checked .there is no effect when you click on the checked nodes.I have to use "clearChecked" method after reload the data.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2265


View Profile Email
« Reply #1 on: November 13, 2016, 03:16:43 PM »

Please look at this example http://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=Cascade%20CheckBox. It works fine. If your issue continues, please show an example to demonstrate it.
Logged
dailyblog
Newbie
*
Posts: 30


View Profile Email
« Reply #2 on: November 13, 2016, 10:04:00 PM »

hi,here is the sample code. http://sandbox.runjs.cn/show/22axkolj
please follow the steps as below:
1. open http://sandbox.runjs.cn/show/22axkolj
2. check some rows
3. click "refresh" button above
4. recheck the rows you checked just now to see if you can check or uncheck these rows.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2265


View Profile Email
« Reply #3 on: November 14, 2016, 04:24:34 AM »

Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5-patch.zip.
Logged
dailyblog
Newbie
*
Posts: 30


View Profile Email
« Reply #4 on: November 14, 2016, 07:43:54 AM »

thank you Jarry.It works perfectly!
But if you can add "existById" and selectByid methods for tabs  plugin?
Logged
dailyblog
Newbie
*
Posts: 30


View Profile Email
« Reply #5 on: November 14, 2016, 08:00:57 AM »

Hey,Jarry!
I'm sorry that I found another bug for combobox when I add the patch file above.
The 'limitToList' property seems not work under the patch file above.
please recheck this link : http://sandbox.runjs.cn/show/22axkolj
the bug of reload method for  treegrid has been fixed. when you enter something not in the combo list, and leave the combobox ,you will find the text not set to be null but remains the text you entered just now
« Last Edit: November 14, 2016, 08:27:47 AM by dailyblog » Logged
jarry
Administrator
Hero Member
*****
Posts: 2265


View Profile Email
« Reply #6 on: November 14, 2016, 07:04:56 PM »

The patch has been updated. Please download it from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5-patch.zip.
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!