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
325
Problem when rendering row with hidden columns
posted

Hello,

I am initializing my grid with hidden columns inside a helper class:

Columns.Add(new GridColumn { HeaderText = "ViewModelType", Key = "ViewModelType", Hidden = true, Width = "0%" });
Columns.Add(new GridColumn { HeaderText = "DevianceEntityIds", Key = "DevianceEntityIds", Hidden = true, Width = "0%" });
Columns.Add(new GridColumn { HeaderText = "EntityType", Key = "EntityType", Hidden = true, Width = "0%" });

When I try to edit non-hidden cells, I always receive a javascript exception:

Error: Uncaught TypeError: Cannot read property 'template' of undefined

url: http://localhost:60470/Scripts/Infragistics/infragistics.lob.js
line: 135
column: 30844
error: TypeError: Cannot read property 'template' of undefined

Parents
  • 7555
    Offline posted

    Hello Mohamed,

    Thank you for posting in our forums!

    I do not have a clear understanding of how you are initializing grid with hidden columns inside a helper class.

    The JS file which you sent me is in your localhost (Your machine) so I can’t see it.

    To better assist you with this, please attach JS file again which reproduce the issue you are seeing.

    Also provide me with the steps to reproduce so I may better understand the issue.

Reply Children