Is it possible to define sType in the TH class?
Is it possible to define sType in the TH class?
I'm working with large user created tables created via a CMS WYSIWYG. Auto-detecting is not working probably because the CMS inserts into empty cells.
I can easily add css classes to the cells via the WYSIWYG though, eg. so I was hoping there was a way I can make DataTables apply numerical sType when it see a "numerical" class in a TH cell?
Is this possible and if so can you show me a simple example of the scripting. Alternatively is there a different approach that leaves the flexibility with the CMS user?
Thank you
I can easily add css classes to the cells via the WYSIWYG though, eg. so I was hoping there was a way I can make DataTables apply numerical sType when it see a "numerical" class in a TH cell?
Is this possible and if so can you show me a simple example of the scripting. Alternatively is there a different approach that leaves the flexibility with the CMS user?
Thank you
This discussion has been closed.