예제 #1
0
function DisplayTable()
{
    echo "<table id='explanation' border='0' cellpadding='0' cellspacing='5' style='clear:both'><tr valign='top'><td>";
    GridSettingsForm();
    echo "</td><td>This example demonstrates how database records can be updated via AJAX. ";
    echo "Try selecting add, edit, or delete from the pop-up menu. ";
    echo "If you select add, then click the '...' button next to customer, you will see the Rico tree control.";
    echo "The actual database updates have been disabled for security reasons and result in an error.";
    echo "</td></tr></table>";
    $GLOBALS['oForm']->options["borderWidth"] = 0;
    GridSettingsTE($GLOBALS['oForm']);
    //$GLOBALS['oForm']->options["DebugFlag"]=true;
    //$GLOBALS['oDB']->debug=true;
    DefineFields();
    //echo "<p><textarea id='orders_debugmsgs' rows='5' cols='80' style='font-size:smaller;'></textarea>";
}
예제 #2
0
}
</script>

<style type="text/css">
input { font-weight:normal;font-size:8pt;}
th div.ricoLG_cell { height:1.5em; }  /* the text boxes require a little more height than normal */
</style>

</head>

<body>

<?php 
require "menu.php";
print "<table id='explanation' border='0' cellpadding='0' cellspacing='5' style='clear:both'><tr valign='top'><td>";
GridSettingsForm();
?>
</td><td>This grid demonstrates how filters can be applied as the user types.
</td></tr></table>

<p class="ricoBookmark"><span id="ex3_bookmark">&nbsp;</span></p>
<table id="ex3" class="ricoLiveGrid" cellspacing="0" cellpadding="0">
<colgroup>
<col style='width:60px;' >
<col style='width:60px;' >
<col style='width:150px;'>
<col style='width:80px;' >
<col style='width:90px;' >
<col style='width:100px;'>
<col style='width:100px;'>
</colgroup>