Semantic-ui: Tablesort

Created on 13 Jun 2018  路  5Comments  路  Source: Semantic-Org/Semantic-UI

Hello,

I was searching for the tablesort(plugin) but can't find it in the dist folder. Is it an idea to add the plugin also in the dist folder, or am i missing something?

As far as i know are my only options to manually download https://semantic-ui.com/javascript/library/tablesort.js or use this directly, not preferable for me.

Usage Question

All 5 comments

From the docs:

Adding the class ascending or descending to the th will show the user the sorting direction. This example uses a modified version of the kylefox's tablesort plugin to provide the proper class names. To make sortable tables work, include this javascript into your page and call $('table').tablesort() when the DOM is ready.

https://semantic-ui.com/collections/table.html#sortable

@ColinFrick I know how to use it, thats not the problem.

But i want to know how to include it my project properly. The file is not shipped with semantic ui as far as i know and not available at the npm registry.

Also i can not use the original "kylefox's tablesort" plugin as semantic ui uses a modified
version of this.

Include this javascript file.

@ozzywalsh I know that i must include that file.

When i install Semantic ui with NPM i assume the file is included in the semantic folder, but it isn't.
Alternatively it is handy to install this 'plugin' separate with NPM.

For the people that don't know what i am talking about:
NPM is a command line tool that could be used to keep all your dependencies up to date, so if semantic ui gets updated i don't have to download it manually. And my question is that this plugin should be managed at the same way. Hope this make something clear...

This is definitely not a usage question but more a feature request.

Why was this closed? Is there still no way to include this feature through a package manager?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mixerp picture mixerp  路  3Comments

playgithub picture playgithub  路  3Comments

miguelmota picture miguelmota  路  3Comments

Morrolan picture Morrolan  路  3Comments

batata004 picture batata004  路  3Comments