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!