Skip to content

Commit

Permalink
fix(6123): Allowing selection and tree-base to build columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
Portugal, Marcelo authored and mportuga committed Apr 4, 2017
1 parent 9e74c2f commit 2ea9a06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/features/selection/js/selection.js
Expand Up @@ -664,7 +664,7 @@
allowCellFocus: true
};

uiGridCtrl.grid.addRowHeaderColumn(selectionRowHeaderDef, 0, true);
uiGridCtrl.grid.addRowHeaderColumn(selectionRowHeaderDef, 0);
}

var processorSet = false;
Expand Down
2 changes: 1 addition & 1 deletion src/features/tree-base/js/tree-base.js
Expand Up @@ -715,7 +715,7 @@
};

rowHeaderColumnDef.visible = grid.options.treeRowHeaderAlwaysVisible;
grid.addRowHeaderColumn(rowHeaderColumnDef, -100, true);
grid.addRowHeaderColumn(rowHeaderColumnDef, -100);
},


Expand Down
2 changes: 1 addition & 1 deletion src/features/tree-base/test/tree-base.spec.js
Expand Up @@ -81,7 +81,7 @@ describe('ui.grid.treeBase uiGridTreeBaseService', function () {
});
});
it('should call addRowHeaderColumn', function() {
expect(grid.addRowHeaderColumn).toHaveBeenCalledWith(jasmine.any(Object), -100, true);
expect(grid.addRowHeaderColumn).toHaveBeenCalledWith(jasmine.any(Object), -100);
});
});

Expand Down

0 comments on commit 2ea9a06

Please sign in to comment.