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.
Unfortunately, activation email could not send to your email. Please try again.

Hierarchy Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 04:55 AM

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.

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.

;