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

cell format #56

Open elaijuh opened 9 years ago

elaijuh commented 9 years ago

as source data could be any type, we can keep it in originalData. but provide an api for user to define a format function for rendering purpose. the format function could be defined in columnDefs and return a string. it's more flexible than <div>{String(cellText)}</div>