change a column of grid after bind

2 posts, 0 answers
  1. Arash
    Arash avatar
    1 posts
    Member since:
    Aug 2018

    Posted 07 Aug 2018 Link to this post

    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

  2. Eyup
    Admin
    Eyup avatar
    3990 posts

    Posted 10 Aug 2018 Link to this post

    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.
Back to Top