If you look at a view through the browser, Domino renders it as a table, over which you have no control. If you want to control the formatting of the table, but don't want to create a template form or treat the view as HTML, then this tip may help.....
All you need to do is add the following HTML in to the heading of the first column in a view. This will then end the table and cell that domino has already started, before starting a new one that you can modify:
[</th></table><table border="1" cellpadding="2" cellspacing="1" class="myOwnViewTable"><th>Column Title</th>]
That's it! Save the view and check it out on the web! You can change the value for the border, cellpadding and cellspacing as per your requirement (or fancy). Assigning a stylesheet to the table allows you even greater control.
Copyright © 2000 - 2024 Jake Howlett of Rockall Design ltd. This article was printed from codestore.net