Tuesday, July 20, 2010

Modifying Web Interface Builder - Part 3 - Hiding Rows in Layouts

There may be situations in which multiple layouts are presented in one Web Interface frame. It may be desirable to eliminate any column header data rows which may detract from a unified multiple layout presentation as well as providing unnecessary duplication of data. This scrip allows you to eliminate specific rows of a layout's output.
Example code:
<script language=JavaScript type=text/javascript>
document.getElementById("LAYOUT_LAY002-table").deleteRow(0);
</script>
This sample script removes the first row (Row 0) of layout LAYOUT_LAY002 which contains the data column titles.

No comments:

Post a Comment