When using jscrollpane in my horizontal division to enable scrolling, I encounter an issue when loading data with ajax. The scrollbar doesn't appear until the browser width is changed.
To address this, I currently utilize the following method to reinitialize the scrollbar upon width change:
api.reinitialise();
However, I am looking for a solution where the scrollbar automatically reinitializes after data is loaded via ajax, without the need for manual intervention.
Furthermore, the data is loaded from a JSON file and parsed, which results in a delay in loading into the browser.