This is a migrated thread and some comments may be shown as answers.
change a column of grid after bind
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
Arash
Top achievements
Rank 1
Arash asked on 07 Aug 2018, 12:17 PM

hi !
I am working on a project that I receive data by schema via datasource . after receiving this data from specific URL I have to send one of these them (that is an id) to another URL to receive a name . now the problem is template is not working here cause connecting to 2nd URL takes time and grid is ready by that time  ...
what should I do ?
any guides ?

 

regards

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 10 Aug 2018, 05:40 AM
Hello Arash,

I suppose you are using RadGrid with client-side binding. After receiving the new data source, you can call rebind method:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/client-side-programming/gridtableview-object/methods/rebind

Or set this new data source using the following method:
mtv.set_dataSource(data);
mtv.dataBind();

The full example can be found here:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/client-side-binding/client-side-binding-specifics

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Arash
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or