shanesmith / Kohana-Tableau

A Kohana 3.x module for quick yet powerful html table creation from data arrays
MIT License
8 stars 1 forks source link

Adding css class or id to table, th, tr, td, ... #1

Open erralb opened 12 years ago

erralb commented 12 years ago

I guess the title says it all...

I cannot find anywhere in the doc how to specify a css class or id for the table elements... would be pretty handy to style specific tables!

alxwr commented 12 years ago

Better late than never.

Have a look at Tableau_HTML_Cell's addClass() in the API Browser. (guide/api/Tableau_HTML_Cell#addClass)

You may want to combine this with callbacks. (guide/tableau/callbacks)