Searchpane slowing down

Searchpane slowing down

mattleesmattlees Posts: 16Questions: 8Answers: 0

Hi,

I have a table pulling its data via an ajax call. Part of this is send over dates eg ajax.php?date=2020-05-01

There is a date selector so this can be changed with javascript calling:
report_dt.ajax.url(generate_ajax_url()).load( function () { report_dt.state.clear(); report_dt.searchPanes.rebuildPane(); report_dt.columns.adjust().draw(); } );

For the first few date changes this is fine, but it progressively gets slow when making selections on the searchpane. eg after making 8 date changes it now takes 5 seconds per selection in searchpane to update the table. Seems to be hanging onto data and slowing down?

Doing a full page refresh goes back to normal speed.

Doesn't affect column sorting, or standard searching, only the speed of searchpanes.

This question has an accepted answers - jump to answer

Answers

  • mattleesmattlees Posts: 16Questions: 8Answers: 0

    Updated to searchpanes 1.1.0 (from 1.0.1) and it looks to be resolved!

  • colincolin Posts: 15,146Questions: 1Answers: 2,586
    Answer ✓

    Yep, there were a few fixes in that area. Glad all sorted,

    Colin

This discussion has been closed.