No description, website, or topics provided.
HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
cdctable.css
cdctable.less
index.html
jquery-2.1.4.min.js
searchableTable.js

README.md

View as raw file

** =========================== REQUIREMENTS ======================= ** jquery-1.8+ SEARCH INPUT FIELD HAS TO HAVE CLASS ".cdctable_search" TABLE MUST HAVE A PARENT DIV WRAPPER

TABLE DATA PARAMETER SHOULD BE SET TO THE PARENT OF WHAT YOU WANT REMOVED. [TYPICALLY ITS THE ]

EXAMPLE PLUGIN USAGE:

BASIC USAGE | | |------------->$('#container').searchableTable(); ^ | | |

			PLUGIN SELECTOR

$('#container').searchableTable({ height : "400px", width : "800px", scroll : "vert", breakpoint : 600, tableData : 'tbody tr' });

PARAMETERS DEFINED:

height : HEIGHT OF SELECTOR, width : WIDTH OF SELECTOR, scroll : SCROLL BARS ON SELECTOR, breakpoint : WHEN TO ADD SCROLL BARS [measured in pixles of window innerwidth] (setting a break point removes double scroll bars for smaller devices), tableData : ELEMENT TO HIDE ON SEARCH (USUALLY tbody tr)

PARAMETERS OPTIONS:

height : string [px,%], width : string [px,%], scroll : string [vert,horz,both,none], breakpoint : integer, tableData : css selector