Skip to content

Commit f77a5b3

Browse files
Portugal, Marcelomportuga
Portugal, Marcelo
authored andcommitted
fix(selection.js): enableFullRowSelection allows enableRowHeaderSelection.
Ensured that the enableFullRowSelection no longer adds the disable selection class to row header cells. fix #5474
1 parent 89c43ef commit f77a5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/selection/js/selection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@
942942
};
943943

944944
function registerRowSelectionEvents() {
945-
if ($scope.grid.options.enableRowSelection && $scope.grid.options.enableFullRowSelection) {
945+
if ($scope.grid.options.enableRowSelection && $scope.grid.options.enableFullRowSelection && !$elm.hasClass('ui-grid-row-header-cell')) {
946946
$elm.addClass('ui-grid-disable-selection');
947947
$elm.on('touchstart', touchStart);
948948
$elm.on('touchend', touchEnd);

0 commit comments

Comments
 (0)