This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 30, 2011, 12:30 PM
31 Posts
topic has been resolvedResolved

Dojo Grid - displaying "empty" rows/documents..

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 3
Hi All !
 
I have a Dojo Grid and a REST Service.
 
The REST Service is llnked to a view (containing 10 documents).
I do a search (using the search parameter on the REST Service). This results in 5 documents.
 
The grid now displays these 5 documents as the 5 first rows in the grid, but I can also see 5 "empty" rows (row 6-10)
The column values (all of them) for these rows is "--"
 
Question: How can I get rid of these ? I don't want these to show in my grid.
 
Any information would be greatly appreciated :-) Thanks !
 
Best regards,
Petter
Oct 4, 2011, 6:28 AM
261 Posts
Re: Dojo Grid - displaying "empty" rows/documents..
The Dojo grid has a autoHeight property. Perhaps that will solve your problem.
 
I also know there's a bug with using autoHeight in Dojo 1.5 that should be solved in 1.6. Domino 8.5.3 should come with Dojo 1.6, so you might want to wait a bit and try it in that version.
 
Mark
Oct 4, 2011, 7:59 PM
1 Posts
Re: Dojo Grid - displaying "empty" rows/documents..
Change the service property on the Rest Service object.
 
Try the viewJsonService rather than the viewItemFileService.
 
Different services use return different results. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal