SearchBuilder hitting the "And" button to change in "Or" page is reloaded

SearchBuilder hitting the "And" button to change in "Or" page is reloaded

Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0
edited November 2020 in Free community support

I'm using the SearchBuilder and when I hit the "And" button to change in "Or" the conditions the page is reloaded and the search option section cleare and closed.

This is my code:

{
....
dataTable = $('#tblData').DataTable({

        dom: 'Qlfrtip',

        responsive: 'true',

        columns: [...
.....
}

Any suggestion? Thanks a lot.

Answers

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @Maurizio Orlandi ,

    Thanks for your question. As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. 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.

    Thanks,
    Sandy

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    Hi @sandy ,
    I already tried to create a running test case with "live.datatables.net" but it doesn't work: I attached the screenshot and if you see I inserted the instruction but nothing change on the "output". I already ran my application and with your debugger I'm uploading "Configuration Data" but it still working after 1 hour.

    Thanks,
    Maurizio.

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    The screenshoot, sorry...

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    I already tried to create a running test case with "live.datatables.net" but it doesn't work:

    Did you include the SearchPanes extension?

    You can use the Add Library menu optoin.

    Kevin

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    I already added SearchBuilder and the screenshot that you see is the result.
    I don't need SearchPanes.

    Maurizio.

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @Maurizio Orlandi ,

    Can you give me the link to that live page please? I suspect that Kevin is right and you aren't including the SearchBuilder code there.

    Thanks,
    Sandy

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    Hi @sandy,

    here the link requested:

    http://live.datatables.net/vuzilaca/1/edit

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Include SearchBuilder after DataTables.

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @tangerine,

    thanks a lot. it works.
    Now I can come back to my initial problem: I have a datatable in ASP .NET CORE Web App and in search builder when I hit the button "And", it closes everything and the page is reloaded. Any ideas why it happens? Where I'm doing wrong?

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @Maurizio Orlandi ,

    We would need to see it running I'm afraid to be able to debug/provide a solution, it's not something that we have seen before. You could try getting the SearchBuilder code from the nightly builds, there will be some fixes in there and it may be that it holds an unintentional solution. Otherwise we would need a test case.

    Thanks,
    Sandy

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy,

    thanks a lot, I will try to put on-line a small version for you so you can see/test.

    Maurizio.

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy ,

    I'm preparing a small version of the website, but datas are really, so create an user for you: where I can send credentials?

    Thanks,
    Maurizio.

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @Maurizio Orlandi ,

    If you click on my name then there should be a message button at the top right of my profile. Feel free to send me the credentials there.

    Thanks,
    Sandy

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy,

    I did it. With the link, credentials and explenation.

    Thanks a lot!

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy

    I sent you new private messages: now "And"/"Or" button is working but there is a new problem. Could you please check it? Everything is explained in the private message. Thanks a lot.

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy

    I have new questions for you in private message. Thanks a lot and have a good day.

  • Maurizio OrlandiMaurizio Orlandi Posts: 13Questions: 1Answers: 0

    @sandy

    I have good news in private message. Thanks a lot and have a good day.

This discussion has been closed.