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
65
disable grid scrolling, enable page scroling
posted

Hi, 

we are using an igGrid in our MVC application. We don't have/want grid scrollbars, there are only few rows and we don't want it to be scrollable at all. Instead, there is much more content on the page and we need the page to be scollable reliably. 

The issues is, when hovering over the grid it blocks page scolling, even while there are no scoll bars or overflowing rows in the grid. 

How can we enable page scrolling while hovering over the grid? 

Thank you,
Robert

P.S.: Grid Code


@(Html.Infragistics()
.Grid(Model)
.ID("anschriftBerufTGKList")
.Width("100%")
.PrimaryKey("RowId")
.AutoGenerateColumns(false)
.AutoGenerateLayouts(false)
.AutoFormat(GridAutoFormat.Date)
.AlternateRowStyles(true)
.AddClientEvent("cellClick", "rowSelectionChanged")
.FixedHeaders(true)
.Columns(column =>
{
column.For(x => x.Id).HeaderText("Id").Hidden(true);
column.For(x => x.RowId).HeaderText("RowId").Hidden(true);
column.For(x => x.RuntimeInMS).HeaderText("Runtime").Hidden(true);
column.For(x => x.TaetigkeitsTyp).HeaderText("Typ").Hidden(true);
column.For(x => x.TGKId).HeaderText("TGKId").Hidden(true);
column.For(x => x.TGKBez).HeaderText("Tätigkeit").Width("15%");
column.For(x => x.InstNr).HeaderText("Inst-Nr").Width("5%");
column.For(x => x.InstDisplayName).HeaderText("Name").Width("35%");
column.For(x => x.PLZStrasse).HeaderText("PLZ").Width("10%");
column.For(x => x.Ort).HeaderText("Ort").Width("19%");
column.For(x => x.Von).HeaderText("Von").Width("8%").Format("dd.MM.yyyy");
column.For(x => x.Bis).HeaderText("Bis").Width("8%").Format("dd.MM.yyyy");
})
.Features(feature =>
{
feature.Selection().Mode(SelectionMode.Row).Activation(false);
feature.GroupBy().GroupByAreaVisibility(GroupAreaVisibility.Hidden).GroupedRowTextTemplate("${val}").ColumnSettings(groupByColumn =>
{
groupByColumn.ColumnSetting().ColumnKey("TaetigkeitsTyp").IsGroupBy(true);
});
})
.LocalSchemaTransform(true)
.DataSourceUrl(Url.Action(
actionName: "GetTaetigkeitenList",
controllerName: "Taetigkeit",
routeValues: new { debitorId = @ViewBag.debitorId }))
.Render())