Control the look of Domino view tables

Jake Howlett, 28 November 2000

Category: Views; Keywords: column table border

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.



Note: This method allows you a certain amount of control over the appearance of your standard views. However, it is still not nearly as flexible as creating a $$ViewTemplate for Your View and then turning on "Treat view contents as HTML". This gives you complete control over the whole layout. That is how I make CodeStore look so "non-Notes"!!