Tablesorter filter-onlyAvail -
i use tablesorter (mottie's fork v2.23.0) gem jquery-tablesorter-rails
i have table use classes filter-select filter-onlyavail dropdown of available options in column.
recently added jeditable column adds script tag cells (and maybe embed value in span) this:
<td> <span class="editable" data-id="15" data-name="user[route]" title="click edit..">1</span> <script type="text/javascript"> ...script jeditable.... </script> </td>
the result select filter dropdown shows variants of values including script contents.
i tried using filter_selectsource filter-match class added, contents of filter common (like 1,2 99 etc) lots of false hits in script.
any pointers on how ditch contents of script tags both in select population , in search results?
i ended using data-text="value" on element want use filter , sorting.
in case tag.
this not, however, update tablesorter's filter values or search content updated cell.
Comments
Post a Comment