Best practice for refresh grid silently

2 posts, 0 answers
  1. Itay
    Itay avatar
    16 posts
    Member since:
    Nov 2015

    Posted 18 May 2016 Link to this post

    What is the best practice for refresh grid data from remote server with paging silently?.


    I need to poll for data from server every x milliseconds without the user notice, i.e no loading indication - just replacing column values.


    I am using kendo ui angular version.



  2. Stephen
    Stephen avatar
    90 posts
    Member since:
    Jan 2011

    Posted 18 May 2016 in reply to Itay Link to this post

    You could add a CSS rule like so:

    #myGrid .k-loading-mask {
        display: none;

    When I added this rule and clicked my grid's refresh button in the pager area, no progress indicator displayed but it should continue to display elsewhere.

    It may also be possible to connect appropriate events, i.e. dataSource requestStart.  I'm just not sure at what point in the chain the progress indicator is displayed.


    Be aware that any grid refresh will cause the grid to redraw and if the user has a particular row or cell selected, etc, that state will be lost after the redraw.  If you need to retain that state, then you will *have* tap into the various events to save the state before the refresh and then restore it after.




Back to Top