We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hierarchy Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

128403 Jan 19,2017 11:15 AM UTC Jan 20,2017 09:55 AM UTC ASP.NET MVC 1
loading
Tags: Grid
Anoopa
Asked On January 19, 2017 11:15 AM UTC

How to set the datasource for child grid from detailsexpand event .  Below is my code 


function detailsexpand(args) {
        

        var term = $("#term_code").val();
        var coursecrn = args.masterData.CourseCrn;

        $.ajax({
            type: "POST",
            url: "getstudentsdata",
            dataType: "json",
            data: "{ term:'" + term + "',crn:'" + coursecrn + "'}",
            contentType: "application/json; charset=utf-8",

            success: function (data) {

                var formatData = ej.parseJSON(data);

              // Need to set the child datasource here  

                $("#Grid").ejWaitingPopup("hide");

            }
        });

    }

Jayaprakash Kamaraj [Syncfusion]
Replied On January 20, 2017 09:55 AM UTC

Hi Anoopa, 
 
Thank you for contacting Syncfusion support. 
 
We have already discussed the same in following knowledge base document. 
 

Regards, 
 
Jayaprakash K. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;