EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: dailyblog on November 13, 2016, 07:56:39 AM



Title: find tabs by id.a bug with treegrid
Post by: dailyblog 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.


Title: Re: find tabs by id.a bug with treegrid
Post by: jarry 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.


Title: Re: find tabs by id.a bug with treegrid
Post by: dailyblog 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.


Title: Re: find tabs by id.a bug with treegrid
Post by: jarry 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.


Title: Re: find tabs by id.a bug with treegrid
Post by: dailyblog 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?


Title: Re: find tabs by id.a bug with treegrid
Post by: dailyblog 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


Title: Re: find tabs by id.a bug with treegrid
Post by: jarry 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.