Render button in TableTool?

Render button in TableTool?

spyhunter88spyhunter88 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.

Answers

  • wslx999wslx999 Posts: 2Questions: 1Answers: 0

    I remember, each button created by tableTools has a property called fnClick, is it your need?

  • spyhunter88spyhunter88 Posts: 3Questions: 1Answers: 0

    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.

This discussion has been closed.