hcl-bot
1
Hi I am working on the web and I need a way to differentiate the first four rows of a view.
I thought that I might be able to use a simple view column formula like:
@If(@DocNumber<5;“do this”;“do that”)
but because it is a ‘special data’ type it isn’t proving easy.
Can anyone out there get a views column to show “4 and under” in the first 4 rows and “over 4” in all the rows thereafter ?
Cheers
Paul
hcl-bot
2
Subject: Workaround found
I have put a div around the html of the column value and then given it a class name of “docNumber” + @docNumber.
I have then put 4 css classes on to the form like this:
div.docNumber1{display:none}
div.docNumber2{display:none}
div.docNumber3{display:none}
div.docNumber4{display:none}
and it then hides the four rows of data.
hope this helps someone else out
cheers
paul