0

I am new to AngularJs and i want to implement a data-table like we do in JQuery for that i came across Louis Lin Angular-datatable i have copied the html and JS as is from the site , but still i am unable to use it properly for example

For 'with-options' section their implementation shows like

Theirs

Mine looks like

Mine

Am i missing something , please let me know if there is any complete example of using this datatable.
Also i see error message in console like
TypeError: this.renderDataTableAndEmitEvent is not a function, is there some problem with this library.

2
  • We need to see your code - no one can tell what exactly you have missed without that :) There is no particular problems with angular datatables. When you meet a new project (hosted on github) is a good idea always to check out the issues section - it quickly becomes clear if the project is seriously maintained and uptodate. Commented Mar 10, 2016 at 13:46
  • @davidkonrad : yes correct,Thanks for your input. Actually the error was in imports ordering for the JS files.I am attaching the file with the corrected code. Commented Mar 13, 2016 at 13:54

1 Answer 1

0

The actual problem was with the ordering of the imported JS files due to which i was getting

Datatables.renderer module is missing.

I have found a workaround and nice working solution from this Plunker

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.