0

I am using angular-datatables from the following resource: http://l-lin.github.io/angular-datatables/#/welcome

I am trying to run the example of 'with buttons' from here: http://l-lin.github.io/angular-datatables/#/withButtons

I am doing everything exactly like in the example but apparently I don't see any buttons on the table and I should see them. Any clue why it is acting like this.

Update:

I can see only custom button without excel or pdf button.I still have a problem not all buttons are presented.

My code is here:
[http://codepen.io/Barak/pen/aNPZgN][3]

[http://codepen.io/Barak/pen/aNPZgN][3]
8
  • For starters, you are not using the dt-options property... Commented May 4, 2016 at 14:24
  • ok my mistake I forgot to add it to current example,but still it doesn't work. Commented May 4, 2016 at 14:27
  • it looks like you may just have dependency errors, the console is giving an error saying it doesn't recognize your buttons. Might want to double check you are using the correct versions of everything. Also maybe try locally first, so you aren't dependent on cdns Commented May 4, 2016 at 14:36
  • I have tried it locally at first! I have upload it for stackoverflow because there is no other way to present the problem. Commented May 4, 2016 at 14:48
  • I don't see any errors,which error do you talking about? Commented May 4, 2016 at 14:49

1 Answer 1

1

Try to include buttons.html5.js, buttons.flash.js to your html.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.