Sep 17, 2013, 11:31 PM
[OPEN] [#348] Infinity Scrolling
Hi,
I follows sample instruction to make a grid panel with Infinity Scrolling but it does not work.
Thanks,
I follows sample instruction to make a grid panel with Infinity Scrolling but it does not work.
@(Html.X().GridPanel() .Title("Users")
.Width(600)
.Height(350)
.Store(Html.X().Store()
.Buffered(true)
.PageSize(25)
.LeadingBufferZone(75)
.Model(Html.X().Model()
.Fields(
new ModelField("Id", ModelFieldType.String),
new ModelField("Username", ModelFieldType.String),
new ModelField("ShownName", ModelFieldType.String),
new ModelField("Administrator", ModelFieldType.Boolean)
)
)
.Proxy(Html.X().AjaxProxy()
.Url(Url.Action("GetUsers"))
.Reader(Html.X().JsonReader().Root("data")))
)
.ColumnModel(
Html.X().Column().Text("Username").DataIndex("Username").Width(100),
Html.X().Column().Text("Shown Name").DataIndex("ShownName").Flex(1),
Html.X().CheckColumn().Text("Administrator").DataIndex("Administrator").Width(100)
)
)
Could you please tell me what I miss?Thanks,
Last edited by Daniil; Sep 20, 2013 at 4:36 AM.
Reason: [OPEN] [#348]