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

Is there any way to use bootstrap table style. #41

Open mominsamir opened 9 years ago

mominsamir commented 9 years ago

Hi,

Can i use bootstrap css to style table, if yes what is way to do it.

ewu02 commented 9 years ago

I think the best approach is to create a functionality that allows user to pass in table attributes (classes in particular to work with bootstrap). It is currently limited to styles I believe. josebalius may have a better answer.

Quick and dirty approach is to add in 'table' class to table DOM elements via javascript

josebalius commented 9 years ago

@ewu02 is right, we need a way to specify different table classes for ngReactGrid.

josebalius commented 9 years ago

Hey guys, https://github.com/josebalius/react-grid will support bootstrap table styles by default but it will also allow custom classes. Coming soon.