npm packages for one example

npm packages for one example

BestApiBestApi Posts: 3Questions: 1Answers: 0

Hi there.
Is there someone who knows how i can get table look like herehttps://datatables.net/examples/styling/uikit.html

I use this in angular 2 app. It did not work if i use script tags included in index.html. Actually, i get tables like that in link, but it does not work if i leave page and return. I do not know why. I use npm packages and it works great. Only problem is that i do not have look what i want..
Thanks so much and sorry for my bad English.

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,889Questions: 1Answers: 10,530 Site admin
    Answer ✓

    The UIKit styling integration for DataTables isn't available as npm packages yet I'm afraid. The UIKit styling hasn't been completed for all of the other extensions which is why it hasn't been fully published.

    Beyond that, I would need a link to your page to be able to take a look and offer any help with the issue you are having.

    Allan

  • BestApiBestApi Posts: 3Questions: 1Answers: 0

    Thanks for answer. Do you know how can i achieve to be in the same row dropdown and search box? prntscr.com/f5rr03 Also it is for the "Showing 1 of ... " and pagination tool (previous, next etc).
    By the way, this api is best documented. Most amazing website i have discovered so far. :)

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Answer ✓

    Do you know how can i achieve to be in the same row dropdown and search box?

    What CSS file(s) are you using? Those boxes would normally appear on the same row using the most basic example.
    https://datatables.net/examples/basic_init/zero_configuration.html

  • BestApiBestApi Posts: 3Questions: 1Answers: 0

    I did that exactly, but thanks for answer :)

  • allanallan Posts: 63,889Questions: 1Answers: 10,530 Site admin

    I'm afraid we'd need a link to a test page showing the issue as I indicated above to be able to offer any further help. I really can't guess as to what is going wrong without being able to see the code.

    Allan

This discussion has been closed.