josebalius / ngReactGrid

A really fast Angular grid using the power of React to render. Based on ng-grid and jQuery DataTables.
http://josebalius.github.io/ngReactGrid/
MIT License
328 stars 47 forks source link

Fixed ngReactGridCheckbox column width #60

Closed ewu02 closed 6 years ago

ewu02 commented 9 years ago

Default 10% cellWidth only applies when grid.horizontalScroll is enabled. This resolves several width and display issues.

ngReactGridCheckbox width can now be overwritten. Defaults to '2%', which is suitable for most cases.

e.g.,

new ngReactGridCheckbox($scope.selections, 
    {batchToggle: true,
     width: '10%',
     disableCheckboxField: 'disableCheckbox'});