IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Sandbox

Lotus Sandbox

developerWorks
User Review of Alternate Color Rows View in a Web Browser
Submitted by Nagarajan V P on 09/27/2002.
Comment
I beleive this error message comes when there is no document available in the view. To solve this problem in the javascript page (jsView.js) under the
alternateColor(resulting) function add the below lines of code initially.

Basically this checks whether the No Documents found message exists. If it exists then the same message is returned.(Meaning when no documents available this gives the message Data not found. People can customize this message by changing this text in the javascript function)

if ( resulting.toUpperCase().split('<P><H2>NO DOCUMENTS FOUND</H2>')[0] == '' )
{
actualResult = '<table width="100%"><tr><td class="oddline"><b>Data Not Found</b></td></tr></table>';
return (actualResult);
}

Go back

Lotus Software

Document options
Print view

  Sandbox views
By Application Name
By Category
By Product
By Audience
By Date
By Submitter
Conferences

  Resources
developerWorks: Lotus Downloads
alphaWorks Downloads
    About IBM Privacy Contact