dev: Update examples to contain correct code at the base of the page

Jira Issue DD-2070
pull/527/head
SandyDatatables 3 years ago
parent d2a3b53026
commit 46f4352abe

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

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

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

@ -627,14 +627,14 @@ $(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: {
toggleSmart: true,
rankColumn: 6,
threshold: 0.5,
returnSearch: false
}
});
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
threshold: 0.1
}
});
} );
} );</code>
</div>
</section>

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

Loading…
Cancel
Save