Subject: RE: HIding Notes table columns. A workaround? - I FOUND!!
Hi, if you only want to display data which isn’t changing then I would suggest you to use a HTML Table. I use this othen and the possibilities are not so limited as you might think.
But if you want to make somethink dynamic
(add / edit / delete a row) then I have to disappoint you.
As far as I know you can only define the HTML value on loading of the document.
If the document exist
(I have documents generated via an agent which allows managers have an overview of employees daily activities)
then you can define the layout on queryopen. I use computed value with fieldnames.
TD {font-family: "Tahoma", "Default Sans Serif"; font-size: x-small; }
TH {font-family: "Tahoma", "Default Sans Serif"; font-size: x-small; font-weight: bold; text-align: left; }
TD.BB {border-bottom: 1px; }
TD.BT {border-top: 1px; }
TR.TH{font-family: "Tahoma", "Default Sans Serif"; font-size: x-small; font-weight: bold; text-align: left; background-color: #666666; color: white;}
TR.row0 {background-color: #FFFFFF; }
TR.row1 {background-color: #E6E6E6; }
A:link {color: #000000;text-decoration: underline; }
and in my computed value you can point to the fields like HTMLResult0, HTMLResult1, …
a great trick to show more than 32K without that LN make any problems.
For example this is my content of my table :
I created my own class to make this generation from plain data into the below result. This is very nice and you have very clear code.
Note you can also add javascript! think about, when I click on this link, a dialog button appear. (I also made, click on the header, and this column is sorted ) and this all in the LN client.
If you want to display images, then I would suggest that you create a profile with these images on, and afterwards ‘install’ / put these files into the users computer folder. Then you can use also IMG
{
}
I hope that this pleases you???
example of HTMLResult0
"
"