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

Group by Column Unable to Hide

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Noah
Top achievements
Rank 1
Noah asked on 20 Mar 2014, 09:14 AM
Hi,
   My Grid has Two groupby Columns I'm able to Hide The The row . .(   $('#divDeliverySlotManager tbody .k-grouping-row:contains("DayValue")').hide();)

   and I'm unable to hide Column. please Find the Screen Capture (highlighted Column) .

   Thanks!!

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 25 Mar 2014, 06:46 AM
Hi Noah,

In order to hide a column in the grid you can use the hideColumn method of the GridTableView. Since in the concrete case the first column should be hidden you can do something like this.

JavaScript:
$find('RadGrid1').get_masterTableView().hideColumn(0)

Regards,
Angel Petrov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Grid
Asked by
Noah
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or