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
333
Paging in Grid and german localization
posted

Hi,

i have a problem with german localization. Paging in the grid does'nt work any more when i set AutoDetectLocale(true). 

The selection of the page size isn't working any more.

I have downloaded the latest version of Igniteui and modified the sample file Infragistics\2016.2\Ignite UI\Samples\IgniteUI.SamplesBrowser\Views\Loader\aspnet-mvc-helper.cshtml in this way:

@(Html.Infragistics()
.Loader()
.ScriptPath(Url.Content("~/igniteui/js/"))
.CssPath(Url.Content("~/igniteui/css/"))
.Resources("igGrid.*")
.AutoDetectLocale(true)
.Render()
)

@(Html.Infragistics().Grid(Model).ID("grid").AutoGenerateColumns(false).Columns(column =>
{
column.For(x => x.ID).HeaderText("ID").Width("100px");
column.For(x => x.ProductName).HeaderText("Name").Width("200px");
column.For(x => x.QuantityPerUnit).HeaderText("Quantity").Width("200px");
column.For(x => x.UnitPrice).HeaderText("Price").DataType("number").Format("currency").Width("130px");
})
.Features(features =>
{
features.Sorting().Mode(SortingMode.Multiple);
features.Paging();
})
.Height("400")
.DataBind()
.Render()
)

Parents
  • 333
    Offline posted

    Sorry,

    AutoDetectLocale will work in U.S. I have changed it to

    @(Html.Infragistics()
    .Loader()
    .ScriptPath(Url.Content("~/igniteui/js/"))
    .CssPath(Url.Content("~/igniteui/css/"))
    .Resources("igGrid.*")
    //.AutoDetectLocale(true)
    .Regional("de")
    .Locale("de")
    .Render()
    )

    Any change in this combobox is ignored:

Reply Children