Tuesday, July 20, 2010

Modifying Cell Background Colors in Web Interface Builder

As delivered BW-BPS layout functionality differentiates “ready for input” cells from “view only” cells by enclosing the “ready for input” cell within a heavy line boarder. In some cases, the use of color coding the background of the cells help identify the ready for input condition. Insert the follow javascript code to modify a specific cell's background color:
<script language=JavaScript type=text/javascript>

document.getElementById ("LAYOUT_LAY001-2-3-cell").style.backgroundColor="yellow";

</script>
(where LAYOUT_LAY001 Is the technical name of the element specifying the layout in the Web Interface, and the 2-3 represents the 2nd row of the 3rd column.)

No comments:

Post a Comment