Cannot force SearchPane to display when rendering an Array

Cannot force SearchPane to display when rendering an Array

sgustafssonsgustafsson Posts: 34Questions: 7Answers: 0

Link to test case: https://live.datatables.net/yehixexe/2/

Description of problem:
I followed https://datatables.net/extensions/searchpanes/examples/advanced/renderArrays.html as a basis for rendering an Array in my SearchPanes. I also followed https://datatables.net/extensions/searchpanes/examples/initialisation/forceShow.html to force showing that Pane regardless of variance.

My test case shows that this forcing mechanism does not seem to work in case an Array is rendered in the forced Pane, and the variance is low or 0 (all empty array, or all arrays with the same value); while forcing does work in case the underlying data is not an array.

Is there a way to force an array-based Pane to be shown ?

Replies

  • sgustafssonsgustafsson Posts: 34Questions: 7Answers: 0

    Hmm, I might have found my solution: I removed the

    searchPanes:
    {
    orthogonal: 'sp'
    }

    option, and that seems to make the force Pane appear even in case it is based on an array.

Sign In or Register to comment.