DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,911 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
programador51
programador51

Posted on

Try js-smart-table!!

cover

Hi everyone, today i present you the first library i've created for javascript (front-end/client-side).

Ill give you this link in order to try the demo by yourself.

Basically, tabulates date from an API using javascript and prints it on the browser. Something like this.
example_library

What's the interesting of this?

  • Allows you click on the column and sort the data (sorted by the sql motor that use the API)
  • Gives you a pagination of the data
  • Allows you click on the rows and "save on memory" the information (an object with the information of that row). This allows you make another operations (callback) using as reference the data clicked. For instance. You clicked a row and you want to fill a form with that? You can do it! Request to another API? Yeah too. Actually you can do anything.
  • Vanilla JS. You can use it anywhere (i'm using it right now on React and Vanilla projects) or any library/framework of JS.

I hope this can help you when trying to implement this kind of features on your projects. All it's documented,video and with example codes in order to make it understandable for the community.

Cheers.

NPM LIBRARY HERE

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.