Search
43845 results 19951-19960
Forum
- 19th Feb 2015Horizontal scroll with Bootstrap causing problemIf I change the table width from 100% to
- 19th Feb 2015Display drop down for a column header with contents of the columnvar table = $('#MyTable').DataTable({ "initComplete" : function() { var api = this.api(); api.columns().indexes().flatten().each(function(i) { if(i==0) { var column = api.column(0); var select = $('<select class="headSelect"><option value="">Risk</option></select>') .appendTo($(column.header()).empty()).on('change',function() { var val = $.fn.dataTable.util.escapeRegex($(this).val()); column.search(val ? '^' + val + '$' : '',true, false).draw(); }); column.data().unique().sort().each(function(d,j) { select.append('<option class="headOption" value="'+d+'">' + d + '</option>'); }); } }); } });
- 18th Feb 2015fields select and radio / editorHello Allan. In a table called "users" there is
- 18th Feb 2015Odd & Even Row Colors are not consistentsort").val(); /* Init DataTables */ $("#pleasewait").show(); table = $('#prc').dataTable( { "dom": '<"top"fl<"clear">>rt<"bottom"<"clear">>', "bProcessing":
- 18th Feb 2015Range filter on multiple tablesI found this, though it is from 2010. Also, I don't know if you are using server-side data, but if you are you could always filter the data on a per table basis that way.
- 18th Feb 2015Multiple primary keyWhat database allows a table to have multiple primary keys?
- 18th Feb 2015jQuery DataTables: Multiple checkbox filteringbriefly, suppose i've a table with two columns name
- 17th Feb 2015Full Editor For Multiple Child Rowson updating the child table, so instead of the
- 17th Feb 2015Custom filtering - range search - On Start dateYou can try out my yadcf plugin, it has range_date filter see showcase (third column) http://yadcf-showcase.appspot.com/DOM_source.html (see code snippet below the table) it requires a jquery ui datepicker included on page too...
- 17th Feb 2015Column select filter implementation failplacing it above the table - I should probably try