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

[Solved] refresh grid ui

0 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
david
Top achievements
Rank 1
david asked on 01 Oct 2010, 03:51 PM
hi,
i'm manually updating the grid data model using jscript.  However, im sure there must be a way to refresh the grid ui without manually updating each cell using jquery (client side).
for example:
var grid = $gridElement.data('tGrid');
the data object has been updated with the latest updated values but the UI is still displaying the original values...is there anyway just to refresh this without doing a postback to the controller to rebind the grid?

my problem is i have a different save function in jscript with an onclick event assigned to a input button located at the bottom of my page.  the user applies many changes to the grid.  this sends the edited objects to my controller which writes those values back to the database.
However, i do not rebind here.

thanks,
Tags
Grid
Asked by
david
Top achievements
Rank 1
Share this question
or