Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Table border
KavithaD
Hi,
I Created table dynamically and added rows and columns dynamically.But
Table borders are Invisible.how do i make table borders visible?
Thanks & regards
Kavitha
Find more posts tagged with
Comments
mani_03
Can You Expalain More About Your Problem...
mwilliams
Hi Kavitha,
Are you applying borders to your table?
KavithaD
Hi,
TableHandle visitTypeTable = efactory.newTableItem("visitTypeTable", 2);
visitTypeTable.setWidth("50%");
RowHandle visitTypeRow = (RowHandle) visitTypeTable.getDetail().get(0);
CellHandle visitTypeFirstCell = (CellHandle) visitTypeRow.getCells().get(0);
CellHandle visitTypeSecondCell = (CellHandle) visitTypeRow.getCells().get(1);
LabelHandle reportTitleLabel = efactory.newLabel("reportTitleLabel");
reportTitleLabel.setText("Report Title: ");
visitTypeFirstCell.getContent().add(reportTitleLabel);
LabelHandle reportLabel = efactory.newLabel("reportLabel");
reportLabel.setText(siteVisitScheduleList.get(i).getVisitType().getDecodeForCode()+" Report");
visitTypeSecondCell.getContent().add(reportLabel);
design.getBody().add(visitTypeTable);
This what i am doing.how to apply borders dynamically?
mwilliams
Kavitha,
One way you should be able to set this in the onCreate script section of the row with something like:
this.getStyle().borderBottomStyle = "solid";
this.getStyle().borderBottomWidth = "1 Points";
There may also be a way to set it via the row handle.
KavithaD
Hi,
I am doing it in java class.Please can you help me out?
regards
Kavitha