PDA

View Full Version : [CLOSED] GridPanel with GroupingSummary and RowExpander



ehmdb
Jan 30, 2014, 11:49 AM
I have a GridPanel in a Razor view with both GroupingSummary and RowExpander Features



.Features(
X.GroupingSummary()
.GroupHeaderTplString("{name}")
)

.Plugins(Html.X().RowExpander()
.Loader(Html.X().ComponentLoader()
.Url(Url.Action("GetPositionDetail"))
.Mode(LoadMode.Component)
.LoadMask(mask => mask.ShowMask = true)
.Params(new { PositionID = JRawValue.From("this.record.data.PositionID") })
)

Problem is only first row of group will Expand the row. Rows 2+ expand button does fires no Javascript as shown in FireBug. Are there collisions between group expander and row expander + signs in GridPanel? Please advise.

Daniil
Jan 30, 2014, 11:58 AM
Hi @ehmdb,

Please wrap the code in [CODE] tags. Please do not create a new post, just edit the existing one.

More tips for posting on the forums you can find here:
Forum Guidelines For Posting New Topics (http://forums.ext.net/showthread.php?3440)
More Information Required (http://forums.ext.net/showthread.php?10205)

ehmdb
Feb 03, 2014, 4:33 PM
Just a quick note on this, if I remove the GroupingSummary the RowExpander works fine.

Daniil
Feb 04, 2014, 4:50 AM
Hi @ehmdb,

Seems I cannot reproduce with the latest Ext.NET sources. As a sample I took this one:
http://mvc.ext.net/#/GridPanel_Plugins/GroupingSummary/

and added the RowExpander that you posted.

It appears to be working.

Please specify the Ext.NET version that you are using and provide a full test case.