Menu

#72 Border Issue

1.0
closed
nobody
None
2018-05-31
2016-09-27
Andy Norris
No

We're having an issue with the borders on the left column. You can see in the ls_result.xlsx file that the left border does not extend down and the last row has no bottom border on the left column. Any help is appreciated!

Thanks,
Andy Norris

3 Attachments

Discussion

  • Randy Gettman

    Randy Gettman - 2017-08-11

    Andy,

    This is occurring because your jt:forEach tag starts in column B. Looping tags only copy their block downward (or rightward if copyRight is set to true). Columns to the left or right are not copied down. This means that the border of the cell in column A is not copied downward.

    You can fix this by moving the jt:forEach tag to column A. To get ${section.@label}., which is already there in column A, to print only on the first row, declare a name for your varStatus variable as an attribute in your jt:forEach tag, then use it to determine if you're on the first item, e.g.:

    <jt:forEach items="${...}" var="..." varStatus="s"><jt:if test="${s.first}" elseAction="clear">${section.@label}.</jt:if>
    
     
  • Andy Norris

    Andy Norris - 2017-08-11

    Thanks very much! I hope you have a great weekend, Andy

     
  • Randy Gettman

    Randy Gettman - 2018-05-31
    • status: open --> closed
     

Log in to post a comment.