EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 15, 2024, 09:12:24 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Treegrid with filters, data is duplicated.
Pages: [
1
]
« previous
next »
Print
Author
Topic: Treegrid with filters, data is duplicated. (Read 13639 times)
A-K
Full Member
Posts: 122
Treegrid with filters, data is duplicated.
«
on:
November 01, 2015, 01:50:29 AM »
Hey,
I am using treegrid with filters extension, and when I reload the treegrid the data is duplicated.
When I remove the filters everything is working fine.
Here is the exmple:
http://jsfiddle.net/3L4ej4dx/158/
Just press the reload button and the data will be duplicated.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Treegrid with filters, data is duplicated.
«
Reply #1 on:
November 01, 2015, 04:06:33 AM »
Please look at
http://jsfiddle.net/3L4ej4dx/165/
Logged
A-K
Full Member
Posts: 122
Re: Treegrid with filters, data is duplicated.
«
Reply #2 on:
November 01, 2015, 06:45:55 AM »
Thanks for the help, but why do I need to add this useless code:
Code:
url:'abc',
?
Can there be a more reasonable fix for this? adding a useless url is not looking like a good fix for a bug..
Thanks.
Logged
A-K
Full Member
Posts: 122
Re: Treegrid with filters, data is duplicated.
«
Reply #3 on:
November 05, 2015, 12:20:14 PM »
There are more problems that the URL trick didn't help, like the method 'append', it also duplicates the data...
Example:
http://jsfiddle.net/3L4ej4dx/171/
Click the append button and watch the data duplicated.
Please fix this without the need to write "url:ABC" if possible.
Thanks.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Treegrid with filters, data is duplicated.
«
Reply #4 on:
November 06, 2015, 01:12:39 AM »
Please try to download the 'datagrid-filter.js' file from
http://www.jeasyui.com/extension/datagrid_filter.php
Logged
A-K
Full Member
Posts: 122
Re: Treegrid with filters, data is duplicated.
«
Reply #5 on:
November 06, 2015, 02:43:07 AM »
Quote from: CLKG on November 05, 2015, 05:40:11 PM
Remove datagrid-filter.js, it'll be okay.
Please look at the title.. the whole point is using filters in treegrid.
Quote from: stworthy on November 06, 2015, 01:12:39 AM
Please try to download the 'datagrid-filter.js' file from
http://www.jeasyui.com/extension/datagrid_filter.php
The new version works great, thanks! It also removed the need to write "url:ABC".
Great work!
Logged
A-K
Full Member
Posts: 122
Re: Treegrid with filters, data is duplicated.
«
Reply #6 on:
November 09, 2015, 05:23:32 AM »
Hey,
Another problem in the filter extension for treegrid.
when you append a row, then you remove it and then append again, the removed row is now shown again in the
treegrid.
Example:
http://jsfiddle.net/3L4ej4dx/174/
Press append button, then remove button and then append again.
Thanks.
Logged
A-K
Full Member
Posts: 122
Re: Treegrid with filters, data is duplicated.
«
Reply #7 on:
November 09, 2015, 11:07:47 AM »
I just saw you updated the extension and fixed it.
Thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...