本文整理汇总了PHP中sadaf_datagrid::closeHeaderGroup方法的典型用法代码示例。如果您正苦于以下问题:PHP sadaf_datagrid::closeHeaderGroup方法的具体用法?PHP sadaf_datagrid::closeHeaderGroup怎么用?PHP sadaf_datagrid::closeHeaderGroup使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sadaf_datagrid
的用法示例。
在下文中一共展示了sadaf_datagrid::closeHeaderGroup方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$col = $pdg->addColumn("نوع شخص", "person_type_title", "int");
$col->width = 100;
$pdg->openHeaderGroup("پارامترهای مرتبط");
$col = $pdg->addColumn('پارامتر1', "dim1_id");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_SalaryParam(), "id", "value");
$col->width = 100;
$col = $pdg->addColumn('پارامتر2', "dim2_id");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_SalaryParam(), "id", "value");
$col->width = 100;
$col = $pdg->addColumn('پارامتر3', "dim3_id");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_SalaryParam(), "id", "value");
$col->width = 100;
$col = $pdg->addColumn('پارامتر4', "dim4_id");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_SalaryParam(), "id", "value");
$col->width = 100;
$pdg->closeHeaderGroup();
$pdg->addButton = true;
$pdg->addHandler = "function(v,p,r){ return SalaryParamTypeObject.AddSPT(v,p,r);}";
$col = $pdg->addColumn("عملیات", "", "string");
$col->renderer = "function(v,p,r){ return SalaryParamTypes.opRender(v,p,r);}";
$col->width = 100;
$pdg->title = "انواع پارامترهای حقوقی";
$pdg->width = 800;
$pdg->DefaultSortField = "param_type";
$pdg->DefaultSortDir = "Desc";
$pdg->EnableSearch = false;
$pdg->enableRowEdit = true;
$pdg->rowEditOkHandler = "function(v,p,r){ return SalaryParamTypeObject.editPST(v,p,r);}";
$pdg->collapsible = true;
$pdg->collapsed = false;
$pdg->HeaderMenu = false;