Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

searchable-table

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

searchable-table

JQuery plugin to add search capability to HTML tables

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

searchable-table

Create search capability on HTML tables

Usage

By default a general input search is appended to the header/top of the table.

  <table class="your-selector">
    ...
  </table>
$('table.your-selector').toSearchable();

If enableGeneralSearch is disabled a search input will be added to each column header and filter is applied to the column content.

  <table class="your-selector">
    ...
  </table>
$('table.your-selector').toSearchable({enableGeneralSearch: false});

Fixed

Use the class searchable-fixed-row to mark a row as fixed.

  <table class="your-selector">
    <tr class="searchable-fixed-row">
    ...
    </tr>
    ...
  </table>

Custom header style

Add headerTRStyle property when applying toSearchable

  $('table.your-selector').toSearchable({headerTRStyle: 'my-custom-style'});

Maintainers

Xiaojun Ren nicholas.x.ren@gmail.com

Marcelo Garcia de Oliveira moliveira@aconex.com

Keywords

FAQs

Package last updated on 20 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc