apply basic beahviour on html

apply basic beahviour on html

andreacfmandreacfm Posts: 2Questions: 0Answers: 0
edited December 2012 in General
Hi ,

does exists a way to apply basic behaviour directly in html.
I would like to say to datatables do not make a column sortable adding an attribute on the html and not being force to apply the behaviour on any column via javascript using aoColumns attribute.

Does exists a way to do this?


Thanks

Andrea

Replies

  • allanallan Posts: 63,237Questions: 1Answers: 10,418 Site admin
    There isn't a built in way of doing that, but you could create a little loop that will parse over the TH elements in the header of your table and build up the aoColumns definition needed, based on the attributes found.

    Allan
This discussion has been closed.