Hello,
I'm using NA 2011.2 (with sr), C#, Razor, jquery 1.6.2
I Just wanted to point out something that might be a minor bug with the igGrid.
If you are viewing your web page in a stretched out browser, such as when maximized, and then adjust the size of the browser to be small enough that you think scroll bars should appear, they do not.
If, however, you then refresh the page, the horizontal scroll bar shows up as expected and behaves as expected. At this point if you resize the browser large enough the scrollbar goes away, and if you shrink it back up, it re-appears as expected.
It's only an issue if the page is first rendered in a large enough browser that the initial state is without a horizontal scrollbar.
Hopefully that was clear and made sense.
Thanks!Tony
I have several grids with varying numbers of columns and widths. All behave the same way. Something else I left out is that I'm using IE8. We have to support IE7+ for the time being.
Here is an example:@( Html.Infragistics().Grid<Models.item>() .ID("igGrid1") .FixedHeaders(true) .Columns(column => { column.For(x => x.fld1).HeaderText("fld1").Width("90"); column.For(x => x.fld2).HeaderText("fld2").Format("MM/dd/yyyy").Width("100"); column.For(x => x.fld3).HeaderText("fld3").Format("currency").Width("155"); column.For(x => x.fld4).HeaderText("fld4").Width("155"); column.For(x => x.fld5).HeaderText("fld5").Format("MM/dd/yyyy").Width("100"); column.For(x => x.fld6).HeaderText("fld6").Format("currency").Width("155"); column.For(x => x.fld7).HeaderText("fld7").Width("100"); column.For(x => x.fld8).HeaderText("fld8").Width("60"); column.For(x => x.fld9).HeaderText("fld9").Width("10"); column.For(x => x.fld10).HeaderText("fld10").Width("10"); column.For(x => x.fld11).HeaderText("fld11").Width("400"); }) .Features(features => {features.Sorting().Mode(SortingMode.Single).ApplyColumnCss(false);features.Selection().MouseDragSelect(false).MultipleSelection(false).Mode(SelectionMode.Row);features.Selection().Activation(true);features.Sorting();features.Paging().PageSize(25);features.Filtering().Mode(FilterMode.Advanced);features.Hiding().ColumnSettings(settings =>{settings.ColumnSetting().ColumnKey("fld1").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld2").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld3").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld4").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld5").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld6").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld7").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld8").Hidden(false).AllowHiding(false);settings.ColumnSetting().ColumnKey("fld9").Hidden(true).AllowHiding(true);settings.ColumnSetting().ColumnKey("fld10").Hidden(true).AllowHiding(true);settings.ColumnSetting().ColumnKey("fld11").Hidden(false).AllowHiding(false);});}).ClientDataSourceType(ClientDataSourceType.JSON).DataSourceUrl(Url.Action("someFunction", new RouteValueDictionary(new { id = Model.id}))).Width("100%").Height("400").DataBind().Render())
I'm also using a row template but left it out here. I have tested this grid without the row template and the issue remains.
Hi Tony,
thanks for the feedback ! what is your width configuration for the grid & columns ? do you have width set for both the grid and the columns ? Is the width in pixels or percentage?
Thank you
Angel