How do you set #items in a multiple select list?
How do you set #items in a multiple select list?
This question has an accepted answers - jump to answer
This discussion has been closed.
This question has an accepted answers - jump to answer
Answers
The select list size is not controlled by Datatables. You will need to set the appropriate select attribute to do what you want. Here is one example:
https://www.w3schools.com/tags/att_select_size.asp
Kevin
I use size in non-datatables forms and it works perfectly. I tried this in DT but it has no effect:
}
"size" is not a valid property for a DataTables select.
Apply it to HTML as Kevin showed.
Didn't realize you were using Editor. See if using
attr
works, like this:Kevin