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

Refresh Grid

3 Answers 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arani
Top achievements
Rank 1
Arani asked on 06 Apr 2016, 09:01 PM
Is there a way to refresh the Grid after sending an update or a way to call a refresh event? What I am trying to do is either after I make an edit to a line it will refresh. I was also curious if after submit a form it would refresh the grid near by. 

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Apr 2016, 06:56 AM

Hello Arani,

 

The widget will automatically repaint after the response from update request is received.  See the example here (it is essentially the same in the PHP wrapper).

 

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Arani
Top achievements
Rank 1
answered on 13 Apr 2016, 03:40 PM

So that is in the case of an update through the editor. What about throwing a refresh? I have a table that works as a queue. Below the table there is a form, the user will then select which items they want to work with and submit the form.What I want is that when I submit that form the table refreshes, without having to refresh the page. Is this possible?

 

Arani

0
Nikolay Rusev
Telerik team
answered on 18 Apr 2016, 06:47 AM

Hello Arani,

You could call refresh method of the widget in order to repaint it or call read method of the DataSource. It will trigger request for data and will repaint the widget (by executing the refresh method).

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Arani
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Arani
Top achievements
Rank 1
Share this question
or