Jun 20, 2012, 10:15 AM
[CLOSED] [Razor] Row expander + multiple direct events
Hi there,
I have a grid panel with row expander that has 2 grids within it that I want to populate via ajax methods that call the controller before expand. I've got it working with a single grid like shown:
I have a grid panel with row expander that has 2 grids within it that I want to populate via ajax methods that call the controller before expand. I've got it working with a single grid like shown:
.DirectEvents(rowExp =>
{
rowExp.BeforeExpand.ExtraParams.Add(new Parameter("ProductInstanceId", "record.data['ProductInstanceId']", ParameterMode.Raw));
rowExp.BeforeExpand.Url = "/Products/ExpandServices";
rowExp.BeforeExpand.Success = "#{childServiceStore}.loadData(result.data);";
})
How can I got about populating the 2nd grid? all my attempts/experiments end with a "Only one item is allowed in this Collection." exception
Last edited by geoffrey.mcgill; Jun 21, 2012 at 4:22 AM.
Reason: [CLOSED]