Create datatables using JSON data
Create datatables using JSON data
srk
Posts: 1Questions: 1Answers: 0
HI , I am new to datatables ,and all the examples that are shown works perfectly but In my scenario it doesnt work .
I am trying to implement in anguIarjs
I have an api call that brings list of objects . SO Now I need to use ng-repeat to loop over each object and create a datatable .
Can someone give me idea of implementation .Thnx
This discussion has been closed.
Answers
let ng build your table then use its finish event to apply $().DataTable();
I found this on figuring out how to have ng do that here http://stackoverflow.com/questions/13471129/ng-repeat-finish-event but I have not used this so I don't know the ins and outs of it.