|
Title: Reload (bug or not)? Post by: ClSoft 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); Title: Re: Reload (bug or not)? Post by: ClSoft on March 03, 2013, 11:37:52 PM anybody, please?
Title: Re: Reload (bug or not)? Post by: Ellipsis on March 04, 2013, 01:35:05 AM can you show it in an example (jsfiddle) ?
Title: Re: Reload (bug or not)? Post by: ClSoft 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. Title: Re: Reload (bug or not)? Post by: ClSoft 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. Title: Re: Reload (bug or not)? Post by: fredk on January 25, 2014, 06:18:00 PM Maybe look at this topic : http://www.jeasyui.com/forum/index.php?topic=2815.0
Cheers |