Home Forums Presentation Jasper Reports Blank space for ENUM values which are filtered out.

Viewing 3 reply threads
  • Author
    Posts
    • #9412
      Uma YadavUma Yadav
      Participant

      Hi,

      I am able to show all the ENUM values in a horizontal list without any issue.

      But when I am trying to display only few values from the ENUM, I’m getting blank spaces for the values which I don’t want to display. How can I remove these blank spaces?

      For ex, Here, I have filtered out caption3 but I’am getting blank spaces at caption3’s place.

      Caption1              Caption2                                              Caption4

      Thanks!

      0
    • #9421
      nelson.yiknelson.yik
      Blocked

      You would need to use a where clause to filter out the enums you do not want, in this case, the where clause would be `(not (= (@ caption) “Caption3”)).

      0
    • #9461
      Uma YadavUma Yadav
      Participant

      Thanks, But this didn’t work. I have done the same using print-when condition, caption3 is not getting displayed.

      The issue is that a blank space is getting displayed at the place of caption 3. I need remove that blank space.

      0
    • #9470
      Clayton ChowClayton Chow
      Participant

      Hi Uma,

      What control are you using to have a horizontal list ?  Would you be able to add the report code snippet here (both the report code and the logic which filters the collection) ?

      I’m not quite sure if the issue is due to the layout or how the data is queried.

       

      0
Viewing 3 reply threads
  • You must be logged in to reply to this topic.