Skip to main content

Fanstatic package providing a js table select widget.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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.2 (2013-09-18)

  • Add support for overriding Language options (Translations).

0.1 (2013-09-12)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js.tableselect-0.2.zip (7.9 kB view details)

Uploaded Source

File details

Details for the file js.tableselect-0.2.zip.

File metadata

  • Download URL: js.tableselect-0.2.zip
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.tableselect-0.2.zip
Algorithm Hash digest
SHA256 beb4c6579429b234aedaa516d8f705ec5c66753a514779e084380dfad0ca8c8d
MD5 6ecfc43619db110d1ac91077e5f812d9
BLAKE2b-256 6955a9c64551ea83f431787dfd66110c3c009527a4e85c7b80c04952b2876c9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page