views:

60

answers:

1

I am new to joomla, so I was wondering if there is a function wherein I pass an array of headers and a two dimensional array for data(cells) and get the html markup required to display the same as a HTML table.

I am assuming since this approach works with javascript frameworks, it should be available in Joomla too.

Thanks

A: 

If something like that exists, I would expect it to be in the JHTML class, but I'm not seeing anything. Perhaps you can look through the API and find something to help: JHTML class

If you don't find anything, I think you could easily write up your own method. Let me know if you need help doing so.

Will Mavis