Closed
Description
I'm trying out the ui.grid.selection on my grid and it's behaving oddly(see picture below). My code is very bare bones at this point so not sure what would be breaking it if it's on me. I followed the tutorial http://ui-grid.info/docs/#/tutorial/210_selection
Controller:
$scope.shiftGrid = {
enableSorting: true,
enableFiltering: true,
enableCellEditOnFocus: true,
enableRowSelection: true,
columnDefs: [
{ field: 'ShiftID', displayName: 'Shift ID', type: 'number', width: '20%', enableCellEdit: true },
{ field: 'ShiftDesc', displayName: 'Description', type: 'string', width: '50%', enableCellEdit: true },
{ field: 'Capacity', displayName: 'Capacity', type: 'number', width: '30%', enableCellEdit: true },
]
};
$scope.shiftGrid.multiSelect = true;
HTML:
<div ui-grid="shiftGrid" ui-grid-selection ui-grid-edit ui-grid-cellnav class="myGrid"></div>
Metadata
Metadata
Assignees
Labels
No labels