EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 07, 2024, 11:14:00 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
>
Bug Report
>
Reload (bug or not)?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Reload (bug or not)? (Read 14419 times)
ClSoft
Jr. Member
Posts: 92
Reload (bug or not)?
«
on:
February 26, 2013, 08:23:13 AM »
I have this (treegrid):
$('#mt').treegrid('reload');
and last selected row is not selected any more (nothing is selected).
This works perfect (datagrid)
$('#mt').datagrid('reload');
ie: last selected row remain selected.
if I can reuse this topic - this does not work:
$('#mt').treegrid('select',5);
«
Last Edit: February 28, 2013, 03:07:59 AM by Clarion
»
Logged
ClSoft
Jr. Member
Posts: 92
Re: Reload (bug or not)?
«
Reply #1 on:
March 03, 2013, 11:37:52 PM »
anybody, please?
Logged
Ellipsis
Full Member
Posts: 113
Re: Reload (bug or not)?
«
Reply #2 on:
March 04, 2013, 01:35:05 AM »
can you show it in an example (jsfiddle) ?
Logged
ClSoft
Jr. Member
Posts: 92
Re: Reload (bug or not)?
«
Reply #3 on:
March 04, 2013, 01:55:36 AM »
Hi
I'm not sure how to add some data on jsfiddle?
Basically, I have this code:
<a href="#" class="easyui-linkbutton" onclick="$('#mt_datagrid').datagrid('reload');">Refresh</a>
and it works perfect on datagrid - previously selected row remain relected, after I click on button.
Same code on treegrid (instead of ".datagrid" you can use ".treegrid") does not select any row (nothing is selected).
Thanks.
Logged
ClSoft
Jr. Member
Posts: 92
Re: Reload (bug or not)?
«
Reply #4 on:
March 05, 2013, 05:18:27 AM »
Does the treegrid row remain selected for you or nobody need this?
I mean, when you go back from editing and run "reload", it will be nice when you must not search for that row - I think it should remain selected as in datagrid.
Thanks.
Logged
fredk
Newbie
Posts: 6
Re: Reload (bug or not)?
«
Reply #5 on:
January 25, 2014, 06:18:00 PM »
Maybe look at this topic :
http://www.jeasyui.com/forum/index.php?topic=2815.0
Cheers
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...