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

really need an api for user to define row select checkbox? #54

Closed elaijuh closed 9 years ago

elaijuh commented 9 years ago

my gut feeling is user only needs to config checkbox: true in grid options. the program should handle all for it. but i am not sure if the program should massage the data and columnDefs to prepend the checkbox column. and further more the checkbox should be frozen while doing horizontal scrolling whilst introducing the pinning feature here. @josebalius any thought on this?

josebalius commented 9 years ago

@elaijuh the idea is that we leave this functionality as flexible as possible, so other people can build custom column components and plug them in easily. I didn't want ngReactGrid to concern itself too much about what component is being used in the columns.

The idea about freezing column is really nice, but I don't think I would tie it to the checkbox column, it would be nice to pin any column in the grid.

elaijuh commented 9 years ago

fair enough