This is a migrated thread and some comments may be shown as answers.

DataBoundWidget.extend.hideColumn error

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
maayan
Top achievements
Rank 1
maayan asked on 12 Dec 2014, 08:53 AM
hi 
the following code works fine in firefox but not in google chrome and IE10

iam trying to hide set of columns after grid is loaded with content
iam getting  Uncaught TypeError: Cannot read property 'style' of undefined from ui.DataBoundWidget.extend.hideColumn

iam using the same method on another grid and it works fine on all browsers
can u tell me whats wrong with this
please look at my attachments...

thank u all

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 13 Dec 2014, 04:09 PM
Hello maayan,

I already addressed this query in the support ticket you opened, however I will share my reply here as well.
In the current scenario I would recommend using the Hidden option, which guarantees that the columns are included in the column menu. Here is a screencast illustrating the results you'll get with this approach.

Regards,
Alexander Popov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
maayan
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or