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. Image for the cookie policy date

child grid stops loading data when virtual scrolling is used

We are defined child grid as follows:
.ChildGrid(child =>
    {
        child.ChildGridTemplate(Html.Syncfusion().Grid<Insight.GetActiveProtocolChild_Result>("ChildGrid_${ProtocolNumber}")
        .ShowCaption(false)
        .ActionMode(ActionMode.JSON)
        .ShowRowHeader(false)
        .Caption("Active Protocols Details")

        .Column(c =>
        {
            c.Add(p => p.ProtocolNumber);
            c.Add(p => p.Title);

        })


        .Mappers(map =>
        {
            map.Action("ChildGrid", new { ProtocolNumber = "${ProtocolNumber}" });
        })
        .ToChildGridTemplate());
    })
virtual scrolling is enabled in parent grid using following code:
.ShowCaption(false).ShowStackedHeader(false)
                   .Scrolling(scroll =>
                    {

                        scroll.Height(110).AllowVirtualScrolling(true).VirtualScrollMode(VirtualScrollMode.Normal);

                    })
The action result is defined as follows:
public ActionResult ChildGrid(PagingParams args, string ProtocolNumber)
        {
             USABILITYEntities entities = new USABILITYEntities();
            
when we run the application, the child rows show up initially but when we scroll the rows using virtual scrolling, incorrect protocol number gets passed in the protocol number and the child rows stop showing up. 

can someone from the syncfusion team point to the solution for this problem?

1 Reply

HJ Hariharan J V Syncfusion Team April 30, 2013 12:41 PM UTC

Hi Neha,

Thanks for using Syncfusion product.

We are sorry for the inconvenience caused. Currently this feature is not feasible.

Please let us know if you have any other concerns.

 

Regards,

Hariharan J.V.

 

 


Loader.
Up arrow icon