Ejemplo n.º 1
0
$col->width = 50;
$dg->height = 400;
$dg->width = 780;
$dg->DefaultSortField = "row_no";
$dg->DefaultSortDir = "ASC";
$dg->autoExpandColumn = "unit";
if ($accessObj->InsertAccess()) {
    $dg->addButton = true;
    $dg->addHandler = "function(){PersonEmplymentObject.AddEmp();}";
}
$dg->EnableSearch = false;
$grid = $dg->makeGrid_returnObjects();
$drp_org_type = manage_domains::DRP_OrgType("org_type", "", "with:50%");
$drp_PType = manage_domains::DRP_PersonTypeNoAccess("person_type", "", "with:50%");
$drp_EmpState = manage_domains::DRP_EmpState("emp_state", "", "", "with:60%");
$drp_EmpMode = manage_domains::DRP_EmpMode("emp_mode", "", "", "with:60%");
$drp_UnEmp = manage_domains::DRP_UnEmpCause("unemp_cause", "", "", "with:60%");
?>
<script>
PersonEmplyment.prototype.afterLoad = function()
{
	this.grid = <?php 
echo $grid;
?>
;
	this.grid.render(this.get("EmpGRID"));

	this.PersonID = <?php 
echo $_POST['Q0'];
?>
;