Hi,
I have a Grid with excel filter and scrollbar. I have changed the sample page grid/filteringmenu in this way:
@(Html.EJ().Grid<EditableOrder>("Filtering")
.Datasource((IEnumerable<object>)ViewBag.datasource)
.AllowFiltering()
.EnableHeaderHover()
.FilterSettings(filter => { filter.FilterType(FilterType.Excel); })
.AllowScrolling(true)
.ScrollSettings(col => { col.Width("auto").Height("500"); })
.PageSettings(page => { page.PageSize(50); })
.AllowPaging(true)
.IsResponsive(true)
.Columns(col =>
{
col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(80).Add();
col.Field("CustomerID").HeaderText("Customer ID").Width(100).Add();
col.Field("EmployeeID").HeaderText("Employee ID").TextAlign(TextAlign.Right).Width(110).Add();
col.Field("Freight").HeaderText("Freight").TextAlign(TextAlign.Right).Width(80).Format("{0:C2}").Add();
col.Field("ShipCountry").HeaderText("Ship Country").Width(100).Add();
col.Field("Verified").HeaderText("Verified").Width(90).Add();
})
)
The problem is that if I use the filter the scrollbar moves to the left. Can you please check the problem and help me?
Thank you.
Best regards,
Stefania Solari