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
505
Question about the hidden columns
posted

Hi,

I am using igGrid in an Asp.net MVC3 project, this project supports multiple languages, that means I should set the column header text with global resources. I found that the columns I set to hidden is working fine in English, but not in other language like Norwegian, the hidden columns still display. Is anyone know what's the problem? 

Parents
  • 19693
    posted

    Hello Jason,

    Do you use the hidden option of the column

    column.For(x => x.Name).HeaderText(this.GetGlobalResourceObject("Grid", "PRODUCT_NAME").ToString()).Hidden(true);

    or using the ColumnSetting

    features.Hiding().ColumnSettings(settings => settings.ColumnSetting().ColumnKey("Name").Hidden(true).AllowHiding(true));

    I tried to reproduce the issue with the online sample :

    http://localhost:14991/samplesbrowser/grid/column-hiding-basic

    I set the Product_Name resource in Norwegian (Bokmål) but I was not able to encounter the behavior.

    Can you please share isolated code snippet ?

    Hope hearing from you.

Reply Children