mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Removing the Select all check box from header row #1012

Closed Aashishkmr closed 9 years ago

Aashishkmr commented 9 years ago

I there a way to remove the select all checkbox from the header row in a slick grid. I don't want want to make any changes to the core slick grid js functions. can any one please suggest a fix that i can use.

froodian commented 9 years ago

If you're using the slick.checkboxselectcolumn.js plugin, I'd suggest forking it yourself to add this behavior. As a plugin I wouldn't really consider it one of the core slick grid files, and I don't think it's really being maintained. It should be pretty fast and easy to add this ability to the plugin via its options.

If you really don't want to touch it, you could probably wrap it in your own plugin which overrides getColumnDefinition to not return the checkbox input.

Aashishkmr commented 9 years ago

Well there are other pages in the project that are using the slick.check box select column.js so I would not change it. By wrapping it did you mean I should write a different js file copying all the same functions and just overriding the getcolumndefinition method?

Aashishkmr commented 9 years ago

well got it .. removed the check box using jquery. thanx for replying..