Render button in TableTool?
Render button in TableTool?
spyhunter88
Posts: 3Questions: 1Answers: 0
Hi,
I try to implement TableTools with angularJS, and bind a function/directive inside button in TableTools. But I look for API, I can not find any method to render function, just text or other styles ...
It'll be very excited if have sExtends = 'html' and another property/function to render.
After that, I can use $compile to make angular works.
Thanks.
This discussion has been closed.
Answers
I remember, each button created by tableTools has a property called fnClick, is it your need?
Sorry, I use AngularJS so I can't call angular function from JS/jQuery. The only way is bind with ng-click and $compile it all.