本文整理匯總了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;