reload searchPane after select options on pane

reload searchPane after select options on pane

jeansefanjeansefan Posts: 3Questions: 2Answers: 0
edited May 2019 in Free community support

When i click on any option of my SearchPane all the panes keep the start values not reflecting the updated table. What is wrong in my code ?

$(document).ready(function (){
    var table = $('#tabelaOsPendente').DataTable({
      searchPane: {
        searchPane: true,
        columns: [':contains("Cliente")',':contains("Status Atual")',':contains("Técnico")',':contains("Situação")'], 
        threshold: 0
    },
      "dom": '<"top">ft<"bottom"p><"clear">',
        "order": [[0, "desc"]],
        "language": {"url": "https://cdn.datatables.net/plug-ins/1.10.16/i18n/Portuguese-Brasil.json"},
});

  load(function() { table.searchPane.rebuild() });  

});

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @jeansefan ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.