SearchBuilder And/Or click refreshes page (SharePoint Online)

SearchBuilder And/Or click refreshes page (SharePoint Online)

2008jackson2008jackson Posts: 4Questions: 3Answers: 0

Greetings,

I've included DataTables to my SharePoint Online website and facing the following trouble.
1. SearchBuilder selection of condition (And/Or) refreshes the page completely. Same when used as Button.
2. Date picker selection (Next/Previous) also refreshes the page completely.

I've pasted my code in Jsfiddle link below. Unable to duplicate the SPO content. Please excuse.
https://jsfiddle.net/zw3do0qn/
Debugger info below.
https://debug.datatables.net/obuzef

Answers

  • colincolin Posts: 10,986Questions: 0Answers: 1,872

    We would need to see this occurring, as that's not expected behaviour. We don't need the SPO aspect, but we would need a test case that demonstrates a full page refresh. 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

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

    Hi Colin, I have the same problem in a ASP .NET CORE C# projects Yor example works well, but not in my code. Providing a test case it's complicated because the table is inserted into a big project context.

    Thanks.

  • colincolin Posts: 10,986Questions: 0Answers: 1,872

    If you can link to your page, please, that would help us to debug the problem,

    Colin

  • JLH999JLH999 Posts: 9Questions: 1Answers: 0

    Hello -

    I love love love dataTables.js !!!

    I recently did build of dataTables that included SearchBuilder v1.0.1 ...

    The calendar picker buttons previous and next appear to be defined as buttons without type and thus submit the page

    As well ... There is a formatting difference (which could wholly be on my side of the configuration) but seems to be a bit off

    Any thoughts or feedback would be appreciated if you may have seen this before.

    I'm going to attempt to add a type attribute to the buttons to keep moving forward ....

  • colincolin Posts: 10,986Questions: 0Answers: 1,872

    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

Sign In or Register to comment.