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

[Solved] Ajax Rebind Column Headers

1 Answer 26 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.
Kuangyi
Top achievements
Rank 1
Kuangyi asked on 20 Jul 2012, 09:21 PM
Hi, I want to be able to rebind a telerik grid using an ajax call, not just the rows, but the columns as well.  This ajax call will have different column names (and maybe even different # of columns).  Is there something in place to force a full "refresh" of the grid with new data through ajax?  I don't want to do a get call.  This grid is supposed to represent a pivot-query, so that's why I want to change the column names as well.

Currently the code calls rebind(), and then loops through the  column headers to rename them.

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Jul 2012, 04:38 PM
Hello Kuangyi,

Changing the columns on the client is not supported. You could reload the Grid in a partial view loaded via Ajax if the columns need to be changed without making a full post back.

Regards,
Daniel
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Grid
Asked by
Kuangyi
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or