Selectize: Select options unable to view when having single row

Selectize: Select options unable to view when having single row

sant527sant527sant527sant527 Posts: 2Questions: 1Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
I have table with single row and also with below options

scrollX: true,
scrollCollapse: true,
scrollY: '70vh',

The problem i am facing is as shown in the image

My complete html file is uploaded

Answers

  • sant527sant527sant527sant527 Posts: 2Questions: 1Answers: 0

    Is there any option for scrollCollapse: true, to have some height so that alteast the users sees one of the select drop down and he will know some options are there to select.

  • allanallan Posts: 65,082Questions: 1Answers: 10,775 Site admin

    Is there any option for scrollCollapse: true, to have some height

    No. The whole point of it is to collapse the table down to the height needed for the rows.

    What you need to do is have Selectize append its dropdown to the body, not to the host element. Do that using their dropdownParent option in the Selectize options.

    Allan

Sign In or Register to comment.