我是mvc webgrid控件的新手。问题是,我能够使用数据绑定网格,我需要的是冻结网格的前两列。我试图使用jquery插件,但它不起作用。请帮帮我。 TIA
@grid.GetHtml(tableStyle: "background-HeadeColor", mode: WebGridPagerModes.All,
htmlAttributes: new { id = my grid},
columns: grid.Columns(grid.Column(@Resources.FDAccReg.gvSelect,
format: @<text><input type="checkbox" name="ids" value="@item.intSubAccId"/></text>),
grid.Column(@Resources.Reg.SrNo, format: item => (item.WebGrid.Rows.IndexOf(item) + 1)),
grid.Column(@Resources.Reg.Branch, format: item => item.Name),
grid.Column(@Resources.Reg.AccNo, format: item => item.comst),
grid.Column(@Resources.Reg.Name, format: item => item.Scheme),
grid.Column(@Resources.Reg.No, format: item => item.intMemberId),
grid.Column(@Resources.Reg.Holder, format: item => item.member),
grid.Column("Matured", format: item => item.Acc)))
</div>