Hi there,
I've developed iViews in Java that put colour into a TableView's cells with code similar to the following:
<hbj:tableView id="da190Table"
model="myDA190Bean.TableModel"
design="ALTERNATING"
headerText=""
headerVisible="FALSE"
footerVisible="TRUE"
fillUpEmptyRows="TRUE"
selectionMode="MULTISELECT"
navigationMode="BYLINE"
visibleFirstRow="<%=myDA190Bean.getVisibleRow() %>"
width="100%"
visibleRowCount = "5"
onNavigate="onNavigate">
<%
.........
.........
//loop through table.....
da190Table.setStyleForCell(row,2,TableCellStyle.POSITIVE);
.........
.........
%>
I've gone to "CL_HTMLB_TABLEVIEW" in the class builder and am trying to find a method similar to "setStyleForCell()" seen in the above code. I'm also trying to find a class or interface similar to "TableCellStyle" so that I can get the colours easily. I hope I'm thinking the right way and that ABAP isn't too different to the way Java handles it on the Portal.
So if anyone can let me know how to get colour into TableView cells using BSP's I'll be really stoked...
Thanks for the help
Lynton