Login Register
Sunday, February 05, 2012
You are here : Forum
 
Forums Minimize
 
ForumForumForumForumIndoo Grid DNN ...Indoo Grid DNN ...Different header if no recordsDifferent header if no records
Previous Previous
 
Next Next
New Post
 9/2/2010 7:43 PM
 

Hi,

I need to display a different header if the gridview has no records. I found two similar threads, one for displaying a different header in gridview vs gridedit and the other for hiding the footer if no records. I tried variants from each post with no success.

I'm currently trying this in the header section to display different text if there's no records in the gridview but no text is shown at all:
[compute:iif('»getObject:viewPage.gridView.RecordCount«' < 0,'No ReportTo','Yes ReportTo')]

If I place the »getObject:viewPage.gridView.RecordCount« object out of the compute:iif token it shows the records count correctly. I tried removing the single quotes, comparing to =-1 and nothing. It seems like the object is not working inside the compute:iif or I'm not making the correct comparison.

Any suggestion?

Thanks!

New Post
 9/3/2010 2:08 AM
 

I've been playing with this just a bit and am also having no luck. I tried using the » « brackets around the compute token to have it run earlier in the page cycle, but it always returned true.

Previous Previous
 
Next Next
ForumForumForumForumIndoo Grid DNN ...Indoo Grid DNN ...Different header if no recordsDifferent header if no records

  
Buy it Minimize

 

 

  
Home | Demo | Custom Solutions | Downloads | Forum | Company
 
Privacy Statement | Terms Of Use
 
Copyright 2008-2009 IndooLab d.o.o.