Pure javascript plugin with non intrusive data in <table> in order to filter and sort
None !
- Add filter
<input>in header - Add sort
<img>in header - No inject data in
<table>to work, only the id table - No jQuery requirement
<scripttype="text/javascript" src="smartable.js"></script>varsortFilterTable=newsmartab({tabId : '#table',linkUpSort : 'up-sort.png',//defaultlinkDownSort : 'down-sort.png',//defaultlinkNoSort : 'img/sort.png',//defaultwidthFilter : 100,//defaultunsortCols : [1],unfilterCols : [1]});sortFilterTable.addHeader();tabId: table identifierlinkUpSort: up sort imagelinkDownSort: down sort imagelinkNoSort: general sort imagewidthFilter: width of<input>filter in pxunsortCols: list of column number don't sortableunfilterCols: list of column number don't filterable
![]() | ![]() | ![]() | ![]() | ![]() |
|---|---|---|---|---|
| ? | Latest ✔ | ? | ? | ? |




