You need to sign in to do that
Don't have an account?
Heather_Hanson
apex:datatable visually split information based on field value
I'm using apex:datatable for my Visualforce page when rendered as PDF.
I want to visually separate the rows based on the value of a specific field.
The datatable provides the opportunitylineitems and I'm trying to organize the results using "render" on the columns, which seems to work, but I also want a break between certain rows.
Here is an image of what I'm TRYING to do:
I have tried simply adding the <br/> between columns in the datatable, but that didn't work.
I have also tried creating multiple datatables and wrapping them in an output panel so that I could then add a <br/>, but the PDF generation failed when I tried that.
I also tried using apex:repeat to see if I could solve the problem with that tag, but couldn't figure it out.
Any help would be appreciated!
I want to visually separate the rows based on the value of a specific field.
The datatable provides the opportunitylineitems and I'm trying to organize the results using "render" on the columns, which seems to work, but I also want a break between certain rows.
Here is an image of what I'm TRYING to do:
I have tried simply adding the <br/> between columns in the datatable, but that didn't work.
I have also tried creating multiple datatables and wrapping them in an output panel so that I could then add a <br/>, but the PDF generation failed when I tried that.
I also tried using apex:repeat to see if I could solve the problem with that tag, but couldn't figure it out.
Any help would be appreciated!