dev: Make examples match the actual code

Jira Issue DD-2070
pull/527/head
SandyDatatables 3 years ago
parent 3195490f51
commit b6fb65c68a

@ -630,11 +630,11 @@ $(document).ready(function() {
</table>
</div>
<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({
fuzzySearch: {
rankColumn: 6
}
});
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6
}
});
} );</code>
</div>
</section>

@ -56,7 +56,9 @@
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: true,
search:{return: true}
search: {
return: true
}
});
} );
@ -568,10 +570,12 @@ $(document).ready(function() {
</table>
</div>
<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({
fuzzySearch: true,
search:{return: true}
});
var table = $('#example').DataTable({
fuzzySearch: true,
search: {
return: true
}
});
} );</code>
</div>
</section>

@ -630,13 +630,13 @@ $(document).ready(function() {
</table>
</div>
<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({
fuzzySearch: {
rankColumn: 6,
toggleSmart: true
},
stateSave: true
});
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
toggleSmart: true
},
stateSave: true
});
} );</code>
</div>
</section>

@ -637,14 +637,12 @@ $(document).ready(function() {
</table>
</div>
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
threshold: 0.1
}
});
} );
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
threshold: 0.1
}
});
} );</code>
</div>
</section>

@ -632,14 +632,12 @@ $(document).ready(function() {
</table>
</div>
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
toggleSmart: true
}
});
} );
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
toggleSmart: true
}
});
} );</code>
</div>
</section>

Loading…
Cancel
Save