Search
43918 results 17451-17460
Forum
- 28th Feb 2017How do i make a datatables editor view show the lookup labels instead of valuesThis example shows how you can do an inline edit with a joined table and a select input. The key is to use columns.editField to tell Editor which field it should edit for the given column. Allan
- 28th Feb 2017is this serverside ?server-side - typically a database table). Does that clarify things
- 28th Feb 2017Sorting by Number of Different LengthsIt seems to work fine when using a plugin and specifying the table to use that type: https://datatables.net/plug-ins/sorting/natural Though, unsure why this requires a plugin and isn't automatically detected like a standard number. Thanks,
- 27th Feb 2017Don't know why one of my columns isn't sortingelement is an <input> in the first table
- 27th Feb 2017Insert a line into a database for each row that has text in the input with PHProws to the parent table but she can only
- 27th Feb 2017Multiple KeyTable instances across multiple tablesfocus on a single table at a time. (but
- 27th Feb 2017Is there a way to disable the default warnings?placeholder="Search ' + title + '" />'); }); var table = $('#DataTable').DataTable({ "lengthMenu": [[25, 50,
- 27th Feb 2017How can I intercept a value before it gets updated with the inline editor?been written to the table. The sequence of events
- 27th Feb 2017Reinitialize datatableIf you are making the Ajax call yourself, use clear() and rows.add() to first clear the table and then add the new data. Finish with a call to draw(). Allan
- 26th Feb 2017Destroy doesn't destroyThat was it - thank you. Here is the working code: function updateTable() { table = $('#DataTable1').DataTable(); table.destroy(); $('#DataTable1').empty(); table = $('#DataTable1').DataTable( { data: dataSet, destroy: true, empty: true, columns: [ { title: "Name" }, { title: "Position" }, { title: "Office" }, { title: "Extn." }, { title: "Start date" }, { title: "Salary" } ] } ); }