jQueryUI support - styling Length and Search fields

jQueryUI support - styling Length and Search fields

ruzzruzz Posts: 49Questions: 0Answers: 0
edited August 2010 in General
Hi Allan/All

I'm trying to style the length drop down and the search fields. I've specified bJQueryUI: true, and I see my theme, but the native text/select elements are not styled at all. Example: a themed input type="text" should gain:

class="text ui-widget-content ui-corner-all"

Is there something I need to do (beyond bJQueryUI) to make this work?

TIA
ruzz

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes - DataTables doesn't add any class information to the select element - so one way to do it is to simply add the classes after DataTables has been initialised, using normal jQuery stuff.

    Allan
This discussion has been closed.