I’m trying to avoid using the Java Applet to display a view on a web browser.
My view is relatively simple, but it would appear that Domino decides the width of the column in a view. I would prefer to have more control over it. Initially I thought it made the column as wide as the largest entry in the column, but this does not appear to be the case (see below)
The Date/Time column sometimes has a date, and on other occasions has date and time. How do I ensure it displays on one line?
Regardless of how wide I make the column width in Notes, the web browser ignores it.
Many Thanks
Subject: Width of a view column on web browser
You can use something like this as your column’s formula:
“<div style = "width: 10cm">" + @Text(datetimefield) + "”
Replace the * with square brackets. This type of formula requires that the values are text, so you won’t be able to sort by date properly. If you are sorting by this column, you will need to create a second, hidden column for that.
Subject: RE: Width of a view column on web browser
I have the opposite problem. Ill rather have 2 lines instead of a wide coloumn. I have changed the line to the coloumnwidth i want, but it doesnt accept that and makes one long line. Any suggestions
Subject: RE: Width of a view column on web browser
Excellent - this was perfect
Thanks