This is a migrated thread and some comments may be shown as answers.

Auto refresh grid without rebinding

1 Answer 401 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 09 Aug 2017, 12:42 PM

Hello,

I need a grid which auto refreshes after a given period using a timer.  There is an example here: http://demos.telerik.com/aspnet-ajax/ajaxmanager/application-scenarios/ajaxify-timer/defaultcs.aspx

However, I don't want the whole grid to be rebound after each refresh and instead would like it to be seamless without the animation.  When creating a standard bound to a there is a refresh button top right, and when pressing this button it does exactly what I'm after - it doesn't rebind the grid and instead if there's new data it pops the new data in instead of creating an obvious refresh animation.  Using a normal is there some way to simulate pressing this 'Refresh' button using a timer element and thereby avoiding the rebinding?

Thanks

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 14 Aug 2017, 06:20 AM
Hello Chris,

The Refresh button actually does rebind the grid:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/automatic-crud-operations/defaultcs.aspx

If you want to remove the animation, however, you can remove the RadAjaxLoadingPanel from the RadAjaxManager settings.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or