Title: Datagrid reload every 'x' seconds: How to remove the visual impact Post by: getk on May 20, 2013, 08:04:15 AM hi guys,
First of all, thanks a lot for making easyUI. Very powerful and simpler than datatables. I've got data which changes regulary with user interaction requirement. This needs to be displayed as a grid/table. therefore I've implemented easyUI CRUD datagrid (NOT inline editing, but the simple datagrid). Hence the datagrid needs to refresh (say every 15secs) and reload. I'm doing like below Code: $(function() { My query is 1. Is there a method/option , so that easyUI can detect , if the data has changed, ONLY then reload? 2. Every 15 secs, a loading icon comes + greys out datagrid, which seems like flashing screen. Is there a way to avoid the visual flashing during reload ? i.e. can it load quietly without any visual effect on the UI Thanks in advance. Title: Re: Datagrid reload every 'x' seconds: How to remove the visual impact Post by: stworthy on May 20, 2013, 06:31:48 PM Set 'loadMsg' property to empty string to hide the loading window.
Code: $('#dg').datagrid({loadMsg:''}); Title: Re: Datagrid reload every 'x' seconds: How to remove the visual impact Post by: getk on May 21, 2013, 06:29:01 AM thanks a lot mate. Worked
|