Length Changer

Length Changer

rruecorrueco Posts: 1Questions: 1Answers: 0

I needed to move the length changer ( l ) into another div with and id = 'length-changer'. I used the following code to move it : $('div.dataTables_length').appendTo('#length-changer');

The problem is, after moving the length changer, its layout changed. Initially it is: 'Show' <select>...</select> ' entres'.

Now it became:

'Show'
<select>...</select>
' entres'.

I want it to be displayed in a single line.

Answers

  • allanallan Posts: 63,876Questions: 1Answers: 10,529 Site admin

    It will be CSS related. You probably have the select element as display: block, but without a test case it is impossible to say for sure. Right click and select Inspect to see what styles are applied to it.

    Allan

This discussion has been closed.