radova: Feature request for styling the select menu

radova: Feature request for styling the select menu

allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
edited December 2010 in General
Moved from the 'support information' thread, which isn't suitable for support / feature requests :-)


Great work Allan! I have a very small suggestion for the next release which will enable us to style the dropdown box used to change number of rows displayed (bLengthChange). Just adding an ID field in would be enough.
I added an ID called sTableId+'_bLengthChange_select' to your datatables code and then used stylish-select (http://plugins.jquery.com/project/stylish-select-box) to change look of the dropdown box. However, it would be great if we could have an "official" ID for this purpose.

Alex

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    The 'div' wrapper to the select element has an id of sTableId+'_length', and a class of 'dataTables_length'. Can you not just use that information and add a 'select' to the selector (i.e. 'div.dataTables_length select'). What advantage would an ID have over this?

    Allan
This discussion has been closed.