Inheriting styles.

Inheriting styles.

trikktrikk Posts: 3Questions: 0Answers: 0
edited July 2013 in General
Hey, I can`t find it anywhere so please tell me if its possible.

You can alter the classes of various elements by using "$.fn.dataTableExt.oStdClasses.NAME". This way you can set the sFirst and sPageButtonStaticDisabled elements classes. Can you combine this in any simple way? I want the sFirst button that has his own classes to look different, from the sFirstbutton when its disabled.
Can this be achieved in a simple way I dunno about?

For example:
"First button" has "myfirstbutton" class. When its disabled it has "myfirstbutton disabled" classes
"Previous button" has "mypreviousbutton" class. When its disabled it has "mypreviousbutton disabled" classes
This discussion has been closed.