Style Not Getting Applied To Dropdown

Style Not Getting Applied To Dropdown

xtremer360xtremer360 Posts: 84Questions: 2Answers: 0
edited March 2012 in DataTables 1.9
I've been tinkering with this a little bit as well and can't quite understand why the styles get applied to the search text box but not the dropdown like it does on the template. Any ideas on why this could be happening.

http://jsfiddle.net/NNk7s/2/

Template: http://kansasoutlawwrestling.com/peach/tables.html

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Its because the select menu isn't just styled, its been completely replaced with DIVs and other stuff to make it stylable. Select menus are very limited in terms of what can be styled, hence why this approach is taken ('Inspect element' to see the markup used).

    So to "fix" it, you would need to run the same Javascript over the select menu in DataTables as is used in the template (presumably there is a jQuery plug-in or something being used).

    Allan
This discussion has been closed.