Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

js.tableselect

Introduction

This library provides a widget which you can use to transform a multiselect to a searchable sortable table which has selectable rows. Packaged for fanstatic.

Create and use

Once included, simply call $(select_element).tableselect(); to transform your simple multiselect element to a searchable table select widget containing values and labels. Click on rows to select them.

aoColumn and aaData values need to be provided in the global “tableselect” object with the Id of the original multiselect as key. First column must contain the values of the options of the original multiselect. In the example below this column is hidden:

tableselect[‘my_multiselect’][‘aoColumns’] = [

{“bVisible”: false, “bSearchable”: false}, {“sTitle”: “Title”, “bSearchable”: true}, {“sTitle”: “Description”, “bSearchable”: true}];

tableselect[‘my_multiselect’][‘aaData’] = [

[“value_of_first_option”, “title”, “description”], [“value_of_second_option”, “foo”, “bar”]] ;

$(‘#my_multiselect’).tableselect();

CHANGES

0.3 (2013-10-22)

  • Add support for overriding initial sorting option.

0.2 (2013-09-18)

  • Add support for overriding Language options (Translations).

0.1 (2013-09-12)

  • Initial release

Release files for js.tableselect 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for js.tableselect 0.3
File Size Uploaded
js.tableselect-0.3.zip 8.0 kB Details

Release files / js.tableselect-0.3.zip

Download URL js.tableselect-0.3.zip
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
824920a03930af462359002ea6fbe110e8d58f30bc15f53740cc83ba7c9dc1ba
BLAKE2b-256 checksum
How to use checksums
c95ec6e4b01e14de7d0dc282d5ed3bf6a26b50517be22d41429a230d6d081d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page