I have this Visual Web Part that make a request to a WCF service and returns a list of Sharepoint documents. Currently I'm showing them in a <ul>
, creating the HTML in the succeded ajax event in jquery.
I want to know if there's a way to show the documents in tables, like Sharepoint does, with the columns. So when someone edits the design and colors of the site, the webpart will follow along.
If Sharepoint does not provide something like this, maybe creating the table in javascript with the correct CSS classes will produce the same results.
What do you think?