Angularjs templates

Angularjs templates

sinclairgfsinclairgf Posts: 2Questions: 0Answers: 0
edited February 2014 in General
new to datatables.net.

I want to be able to use angularjs with datatables but not sure how to get it to work when using templates. The table will render fine on the initial load but when I change the limitTo filter it does not display the data. Not sure if datatables does not support this feature. or how i can go about getting this to work. I really need to use templates because other grids have more complex stuff in the row columns.




ID
Date
Description
Amount




{{item.ShareLoanId}}
{{item.TrxDate | date:'shortDate'}}
{{item.Description }}
{{item.Amount | currency }}

Replies

  • netaisllcnetaisllc Posts: 24Questions: 2Answers: 0
    I'm really not sure you will have success taking this route. AFAIK, the philosophy of DataTables and AngularJS are not fully compatible. The so-called Angular Way is to refrain from directly manipulating the DOM. DataTables' API makes it easy to do so, and in fact, assumes you will do just that.
This discussion has been closed.