mirror of
https://github.com/DataTables/DataTables.git
synced 2026-01-10 06:47:54 -05:00
Fix - example: Form input example doesn't use live DOM sorting, so shouldn't show the input columns as sortable
- DD-823
This commit is contained in:
@@ -1 +1 @@
|
||||
9ac58b7b02d2d9979a622465d8eaa556f869edb5
|
||||
ad8a5b8006d7201339245300e31c0988154f93a6
|
||||
|
||||
@@ -19,7 +19,12 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable();
|
||||
var table = $('#example').DataTable({
|
||||
columnDefs: [{
|
||||
orderable: false,
|
||||
targets: [1,2,3]
|
||||
}]
|
||||
});
|
||||
|
||||
$('button').click( function() {
|
||||
var data = table.$('input, select').serialize();
|
||||
@@ -1336,7 +1341,12 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable();
|
||||
var table = $('#example').DataTable({
|
||||
columnDefs: [{
|
||||
orderable: false,
|
||||
targets: [1,2,3]
|
||||
}]
|
||||
});
|
||||
|
||||
$('button').click( function() {
|
||||
var data = table.$('input, select').serialize();
|
||||
|
||||
Reference in New Issue
Block a user