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 Reply Children
No Data