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?