Mottie / tablesorter

Github fork of Christian Bach's tablesorter plugin + awesomeness ~

Home Page:https://mottie.github.io/tablesorter/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thead filter set input type

ken-colvin opened this issue · comments

  • How do I set the input type for the THEAD filter html INPUT types?
  • The goal is to have a generic method update the THEAD input types and not write custom code for each column
  • For example, is there a way to have something like
<thead>
<th data-type='date' title='Enter Date'></th>
<th data-type='number' data-step='1' title='Enter Integer'></th>
<th data-type='number' data-step='.01' title='Enter Decimal'></th>
</thead>

Resulting in the THEAD filter input types:

<input type='date'>

Integer
<input type='number' step=1>

Decimal
<input type='number' step=.01>