From ed014119c6db1f620f30ca2342263d876305a6b1 Mon Sep 17 00:00:00 2001 From: Erik Sikander Date: Fri, 5 Dec 2014 14:04:03 +0100 Subject: [PATCH] Update pinning tutorial --- misc/tutorial/203_pinning.ngdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/tutorial/203_pinning.ngdoc b/misc/tutorial/203_pinning.ngdoc index bf618fab1b..a5f143cd59 100644 --- a/misc/tutorial/203_pinning.ngdoc +++ b/misc/tutorial/203_pinning.ngdoc @@ -4,6 +4,7 @@ The pinning feature allows the user to pin a column to left or right. To enable, you must include the 'ui.grid.pinning' module and you must include the ui-grid-pinning directive on your grid element. +It is also possible to disable pinning on column level. Note the 'id' column definition in the example below. @example @@ -14,7 +15,7 @@ The pinning feature allows the user to pin a column to left or right. To enable, $scope.gridOptions = {}; $scope.gridOptions.columnDefs = [ - { name:'id', width:50 }, + { name:'id', width:50, enablePinning:false }, { name:'name', width:100, pinnedLeft:true }, { name:'age', width:100, pinnedRight:true }, { name:'address.street', width:150 }, @@ -47,4 +48,4 @@ The pinning feature allows the user to pin a column to left or right. To enable, height: 400px; } - \ No newline at end of file +