Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
why is my grid showing 2 header rows with the same titles ?
posted

for some reason my grid is showing two identical header rows, why is this ? Ive created the in exactly the same way as very other grid in my app, yet this one shows two header rows.

@(Html.Infragistics()
.Grid(Model.Records)
.ID("hedgeReportGrid")
.Width("100%")
.Height("500px")
.AutoGenerateColumns(false)
.AutoGenerateLayouts(false)
.FixedHeaders(true)
.Columns(column =>
{
column.For(x => x.BlockStartDateTime).HeaderText("Hedge Date").DataType("datetime").Format("dd-MM-yyyy h:mm:ss").Width("200px");
column.For(x => x.Market).HeaderText("Market").Width("150px");
column.For(x => x.MarketID).HeaderText("Market ID").Width("100px");
column.For(x => x.BuySell).HeaderText("Buy/Sell").Width("125px");
column.For(x => x.Volume).HeaderText("Volume").Width("150px");
column.For(x => x.Trade_Unit_Of_Measure).HeaderText("Unit Of Measure").Width("150px");
column.For(x => x.GBPMWh).HeaderText("Price").Width("100px");
column.For(x => x.Currency).HeaderText("Currency").Width("100px");
column.For(x => x.BlockStartDateTime).HeaderText("Start Date").DataType("datetime").Format("dd/MM/yyyy HH:MM").Width("200px");
column.For(x => x.BlockEndDateTime).HeaderText("End Date").DataType("datetime").Format("dd/MM/yyyy HH:MM").Width("200px");
})
.Features(features =>
{
features.Selection().Activation(true).MultipleSelection(false).Mode(SelectionMode.Row);
features.Paging().PageSize(10).Type(OpType.Remote).RecordCountKey("TotalRecordsCount");

})
.ResponseDataKey("Records")
.DataSourceUrl(Url.Action("GetHedgeReportData", "HedgeReport", new { contractRef = Model.ContractRef, startDate = Model.StartTradeDate, endDate = Model.EndTradeDate }))
.DataBind()
.Render())

Parents Reply Children
No Data