当前位置: 首页>>代码示例>>PHP>>正文


PHP sadaf_datagrid类代码示例

本文整理汇总了PHP中sadaf_datagrid的典型用法代码示例。如果您正苦于以下问题:PHP sadaf_datagrid类的具体用法?PHP sadaf_datagrid怎么用?PHP sadaf_datagrid使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了sadaf_datagrid类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: sadaf_datagrid

<?php

//---------------------------
// programmer:	Mahdipour
// create Date:	94.11
//---------------------------
require_once '../../../header.inc.php';
require_once inc_dataReader;
require_once inc_dataGrid;
require_once inc_PDODataAccess;
//require_once '../../../organization/org_units/unit.class.php';
//____________  GET ACCESS  _____________
$accessObj = FRW_access::GetAccess($_POST["MenuID"]);
//--------------------------------------
require_once '../js/search_person.js.php';
$dg = new sadaf_datagrid("searchPrsonGrid", $js_prefix_address . "../data/person.data.php?task=gridSelect", "personResultDIV", "form_SearchPerson");
$col = $dg->addColumn("شماره پرسنلی", "PersonID", "int", "true");
$col = $dg->addColumn("شماره شناسایی", "staff_id", "int");
$col->width = 120;
$col = $dg->addColumn("نام", "pfname", "string");
$col->width = 100;
$col = $dg->addColumn("نام خانوادگی", "plname", "string");
$col->width = 120;
$col = $dg->addColumn("نام پدر", "father_name", "string");
$col->width = 100;
$col = $dg->addColumn("ش ش", "idcard_no", "int");
$col->width = 100;
$dg->addColumn("عنوان کامل واحد محل خدمت", "org_unit_title", "string");
$col = $dg->addColumn("عملیات", "", "string");
$col->renderer = "SearchPerson.opRender";
$col->width = 60;
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:search_person.php

示例2: sadaf_datagrid

<?php

//-----------------------------
//	Date		: 1395.06
//-----------------------------
require_once '../header.inc.php';
require_once inc_dataGrid;
$LetterID = $_REQUEST["LetterID"];
if (empty($LetterID)) {
    die;
}
$editable = true;
$dg = new sadaf_datagrid("dg", $js_prefix_address . "letter.data.php?task=GetLetterNotes&LetterID=" . $LetterID, "grid_div");
$dg->addColumn("", "NoteID", "", true);
$dg->addColumn("", "LetterID", "", true);
$col = $dg->addColumn("عنوان یادداشت", "NoteTitle");
$col->editor = ColumnEditor::TextField();
$col->width = 200;
$col = $dg->addColumn("شرح", "NoteDesc");
$col->editor = ColumnEditor::TextField();
$col = $dg->addColumn("یادآوری", "ReminderDate", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField(true);
$col->width = 110;
if ($editable) {
    $dg->enableRowEdit = true;
    $dg->rowEditOkHandler = "function(store,record){return LetterNoteObject.SaveLetterNote(record);}";
    $dg->addButton("AddBtn", "ایجاد یادداشت جدید", "add", "function(){LetterNoteObject.Add();}");
    $col = $dg->addColumn("حذف", "");
    $col->sortable = false;
    $col->renderer = "function(v,p,r){return LetterNote.DeleteRender(v,p,r);}";
    $col->width = 35;
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:LetterNotes.php

示例3: sadaf_datagrid

<?php

//---------------------------
// programmer:	Mahdipour
// create Date:	91.05.03
//---------------------------
require_once '../../header.inc.php';
require_once inc_dataGrid;
require_once inc_dataReader;
require_once '../js/subtract_info.js.php';
$dg = new sadaf_datagrid("SubInfoGrid", $js_prefix_address . "../data/subtract_info.data.php?task=searchSubItem", "SubInfoDIV");
$dg->addColumn("کد قلم", "SalaryItemTypeID", "", true);
$dg->addColumn("نوع فرد ", "PersonType", "", true);
$col = $dg->addColumn("قلم کسری", "full_title");
$col->editor = "SubInfoObject.subItemCombo";
$col->width = 200;
$col = $dg->addColumn("ذی نفع", "BeneficiaryID", "string");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_beneficiary(), "BeneficiaryID", "title");
$col->width = 80;
$col = $dg->addColumn("شرح", "description", "string");
$col->editor = ColumnEditor::TextField(true);
$col = $dg->addColumn("ترتیب", "arrangement");
$col->editor = ColumnEditor::NumberField();
$col->width = 60;
$col = $dg->addColumn("نوع فرد", "person_type_title", "string");
$col->width = 60;
$col = $dg->addColumn("از تاریخ", "FromDate", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField();
$col->width = 80;
$col = $dg->addColumn(" تا تاریخ", "ToDate", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField(true);
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:subtract_info.php

示例4: array

if (!empty($personID)) {
    $obj = manage_person::SearchPerson($personID);
    $SummeryInfo = manage_person::GetAllPersons("p.personid = :PID  ", array(":PID" => $personID));
    $staffInfo = new manage_staff("", "", $SummeryInfo[0]["staff_id"]);
} else {
    $SummeryInfo[0]['FacCode'] = NULL;
    $SummeryInfo[0]['EduGrpCode'] = NULL;
    $SummeryInfo[0]['ProCode'] = NULL;
    $obj = new manage_person();
    $staffInfo = new manage_staff();
}
//--------------------------------------------------------------------
$drp_issue_countries = manage_domains::DRP_Countries("country_id", "", $obj->country_id, "", "70");
$drp_nationality = manage_domains::DRP_Countries("nationality", "", $obj->nationality, "", "157");
$drp_banks = manage_domains::DRP_banks("bank_id", $staffInfo->bank_id, "width:150 px", "-");
$dg = new sadaf_datagrid("includeHistory", $js_prefix_address . "../../staff/data/staff_include_history.data.php?task=selectIncludeHistory&PID=" . $personID, "includeHistoryGRID");
$dg->addColumn("", "include_history_id", "", true);
$dg->addColumn("", "personid", "", true);
$col = $dg->addColumn("شماره شناسایی", "staff_id", "int");
$col->width = 140;
$col = $dg->addColumn("تاريخ شروع", "start_date", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField();
$col->width = 120;
$col = $dg->addColumn("تاريخ پايان", "end_date", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField(true);
$col->width = 120;
$col = $dg->addColumn("بيمه تامين اجتماعي", "insure_include", GridColumn::ColumnType_string);
$col->editor = ColumnEditor::ComboBox(manage_domains::DRP_Is_Valid(), "value", "caption");
$col->width = 120;
$col = $dg->addColumn("ماليات", "tax_include", "string");
$col->editor = ColumnEditor::ComboBox(manage_domains::DRP_Is_Valid(), "value", "caption");
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:new_person.php

示例5: sadaf_datagrid

$colu->width = 100;
$colu = $dg->addColumn("عملیات", "", "string");
$colu->renderer = "PersonDependency.opRender";
$colu->width = 80;
$dg->height = 400;
$dg->width = 780;
$dg->DefaultSortField = "row_no";
$dg->autoExpandColumn = "lname";
$dg->EnableSearch = false;
$dg->DefaultSortDir = "ASC";
$dg->addButton = true;
$dg->addHandler = "function(){ return PersonDependencyObject.AddDep();}";
$dg->EnablePaging = false;
$gridDep = $dg->makeGrid_returnObjects();
//______________________________________________________________________________
$dgh = new sadaf_datagrid("deph", $js_prefix_address . "../data/dependent.data.php?task=selectDepSupport", "dephistoryGRID");
$dgh->addColumn("شماره پرسنلی", "PersonID", "int", true);
$dgh->addColumn("", "master_row_no", "int", true);
$col = $dgh->addColumn("ردیف", "row_no", "string");
$col->width = 100;
$col = $dgh->addColumn("دلیل کفالت", "support_cause", GridColumn::ColumnType_string);
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_SupporCause(), "InfoID", "InfoDesc");
$col->width = 120;
$dgh->addColumn("", "support_cause", "", true);
$col = $dgh->addColumn("نوع بیمه", "insure_type", "string");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_InsureType(), "InfoID", "InfoDesc");
$dgh->addColumn("", "insure_type", "", true);
$col = $dgh->addColumn("از تاریخ", "from_date", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField();
$col->width = 100;
$col = $dgh->addColumn("تا تاریخ", "to_date", GridColumn::ColumnType_date);
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:dependencies.php

示例6: sadaf_datagrid

<?php

//---------------------------
// programmer:	Mahdipour
// create Date:	94.12
//---------------------------
require_once '../../../header.inc.php';
require_once inc_dataGrid;
require_once '../js/writ_type.js.php';
$dg = new sadaf_datagrid("WGrid", $js_prefix_address . "../data/writ_type.data.php?task=SelectWritTypes", "ItemResDIV");
$col = $dg->addColumn(" ", "writ_subtype_id", "int", true);
$col = $dg->addColumn("کد ", "writ_type_id", "int");
$col->width = 50;
$col = $dg->addColumn("نیروی انسانی", "PTitle", "string");
$col->width = 100;
$col = $dg->addColumn("عنوان اصلی حکم", "writTitle", "string");
$col->width = 150;
$col = $dg->addColumn("عنوان فرعی حکم", "writSubTitle", "string");
$col = $dg->addColumn("عملیات", "", "string");
$col->renderer = "function(v,p,r){return SalaryItemType.opRender(v,p,r);}";
$col->width = 50;
$dg->addButton = true;
$dg->addHandler = "function(){SalaryItemTypeObject.AddWrt();}";
$dg->pageSize = "15";
$dg->width = 650;
$dg->title = "انواع احکام";
$dg->EnableRowNumber = true;
$dg->autoExpandColumn = "writSubTitle";
$dg->DefaultSortField = "PTitle";
$grid = $dg->makeGrid_returnObjects();
?>
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:writ_type.php

示例7: sadaf_datagrid

<?php

//---------------------------
// programmer:	B.Mahdipour
// create Date:	90.08
//---------------------------
require_once '../../../header.inc.php';
require_once inc_dataReader;
require_once inc_dataGrid;
require_once inc_PDODataAccess;
require_once '../js/person_dependents_transfer.js.php';
$dg = new sadaf_datagrid("dg", $js_prefix_address . "../data/dependent.data.php?task=SelectPersonDependents", "personResultDIV", "form_SearchPersonDep");
$col = $dg->addColumn("<input type=checkbox onclick=\"SearchDepPersonObject.selectAll(this);\">", "");
$col->renderer = "DepTransfer.CheckRender";
$col->width = 80;
$col->sortable = false;
$dg->addColumn('', "PersonID", "int", true);
$col = $dg->addColumn("شماره شناسایی", "staff_id");
$col->width = 100;
$col = $dg->addColumn("نام شخص", "full_name");
$col->width = 200;
$col = $dg->addColumn("مرکز هزینه", "title");
$dg->width = 780;
$dg->EnableSearch = false;
$dg->EnablePaging = false;
$dg->autoExpandColumn = "title";
$dg->notRender = true;
$grid = $dg->makeGrid_returnObjects();
?>

<script>
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:person_dependents_transfer.php

示例8: sadaf_datagrid

<?php

//-------------------------
// programmer:	Jafarkhani
// Create Date:	95.01
//-------------------------
include '../header.inc.php';
include_once inc_dataGrid;
//................  GET ACCESS  .....................
$accessObj = FRW_access::GetAccess($_POST["MenuID"]);
//...................................................
$dg = new sadaf_datagrid("dg", $js_prefix_address . "shift.data.php?task=GetAllHolidays", "grid_div");
$dg->addColumn("", "HolidayID", "", true);
$col = $dg->addColumn("تاریخ", "TheDate", GridColumn::ColumnType_date);
$col->editor = ColumnEditor::SHDateField();
$col->width = 120;
$col = $dg->addColumn("توضیحات", "details");
$col->editor = ColumnEditor::TextField(true);
if ($accessObj->AddFlag) {
    $dg->addButton = true;
    $dg->addHandler = "function(){HolidayObject.AddHoliday();}";
    $dg->enableRowEdit = true;
    $dg->rowEditOkHandler = "function(){return HolidayObject.SaveHoliday();}";
}
if ($accessObj->RemoveFlag) {
    $col = $dg->addColumn("حذف", "");
    $col->sortable = false;
    $col->renderer = "function(v,p,r){return Holiday.DeleteRender(v,p,r);}";
    $col->width = 40;
}
$dg->title = "تعطیلات رسمی";
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:holidays.php

示例9: sadaf_datagrid

<?php

//---------------------------
// programmer:	Mahdipour
// create Date:	92.03
//---------------------------
require_once '../../header.inc.php';
require_once inc_dataGrid;
require_once inc_dataReader;
require_once '../js/plan_item_report.js.php';
$dg = new sadaf_datagrid("PIGrid", $js_prefix_address . "../data/plan_item_report.data.php?task=searchPITR", "PIDIV");
$dg->addColumn("کد قلم", "PlanItemID", "", true);
$col = $dg->addColumn("عنوان قلم", "PlanItemTitle", "string");
$col->editor = ColumnEditor::TextField(true);
$col = $dg->addColumn("قلم مرتبط", "RelatedItem", "integer");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_PlanItem("-"), "InfoID", "Title", "", "", true);
$col->width = 180;
$col = $dg->addColumn("نوع فرد", "PersonType", "integer");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_PersonType("-"), "InfoID", "Title", "", "", true);
$col->width = 60;
$col = $dg->addColumn("مرکز هزینه", "CostCenterID", "integer");
$col->editor = ColumnEditor::ComboBox(manage_domains::GETALL_plancostCenter("-"), "CostCenterID", "Title", "", "", true);
$col->width = 120;
$col = $dg->addColumn("سال", "PayYear", "integer");
$col->editor = ColumnEditor::NumberField();
$col->width = 60;
$col = $dg->addColumn("ماه", "PayMonth", "integer");
$col->editor = ColumnEditor::NumberField();
$col->width = 60;
$col = $dg->addColumn("مبلغ", "PayValue", "integer");
$col->editor = ColumnEditor::NumberField();
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:plan_item_report.php

示例10: sadaf_datagrid

<?php

//-----------------------------
//	Programmer	: SH.Jafarkhani
//	Date		: 1394.07
//-----------------------------
require_once '../header.inc.php';
require_once inc_dataGrid;
//................  GET ACCESS  .....................
$accessObj = FRW_access::GetAccess($_POST["MenuID"]);
//...................................................
require_once 'ManageForms.js.php';
$dg = new sadaf_datagrid("dg", $js_prefix_address . "wfm.data.php?task=SelectAllForms", "grid_div");
$dg->addColumn("", "FlowID", "", true);
$dg->addColumn("", "RowID", "", true);
$dg->addColumn("", "StepID", "", true);
$dg->addColumn("", "ObjectID", "", true);
$dg->addColumn("", "PersonID", "", true);
$dg->addColumn("", "ActionType", "", true);
$dg->addColumn("", "ActionComment", "", true);
$dg->addColumn("", "url", "", true);
$dg->addColumn("", "parameter", "", true);
$col = $dg->addColumn("نوع فرم", "ObjectTypeDesc", "");
$col->width = 130;
$col = $dg->addColumn("اطلاعات فرم", "ObjectDesc", "");
$col = $dg->addColumn("وضعیت", "StepDesc", "");
$col->width = 130;
$col = $dg->addColumn('عملیات', '', 'string');
$col->renderer = "ManageForm.OperationRender";
$col->width = 50;
$col->align = "center";
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:ManageForms.php

示例11: sadaf_datagrid

<?php

//-----------------------------
//	Programmer	: SH.Jafarkhani
//	Date		: 1394.07
//-----------------------------
require_once '../header.inc.php';
require_once 'config.inc.php';
require_once inc_dataGrid;
//................  GET ACCESS  .....................
$accessObj = FRW_access::GetAccess($_POST["MenuID"]);
//...................................................
require_once 'ManageRequests.js.php';
$dg = new sadaf_datagrid("dg", $js_prefix_address . "request.data.php?task=SelectAllWarrentyRequests", "grid_div");
$dg->addColumn("", "StatusID", "", true);
$dg->addColumn("", "PersonID", "", true);
$dg->addColumn("", "TypeID", "", true);
$dg->addColumn("", "IsEnded", "", true);
$dg->addColumn("", "LetterNo", "", true);
$dg->addColumn("", "LetterDate", "", true);
$dg->addColumn("", "DocID", "", true);
$dg->addColumn("", "DocStatus", "", true);
$dg->addColumn("", "IsBlock", "", true);
$dg->addColumn("", "BranchID", "", true);
$dg->addColumn("", "BranchName", "", true);
$dg->addColumn("", "RegisterAmount", "", true);
$col = $dg->addColumn("نوع", "TypeDesc");
$col->renderer = "function(v,p,r){p.tdAttr = \"data-qtip='\"+r.data.BranchName+\"'\"; return v;}";
$col->width = 80;
$col = $dg->addColumn("ضمانت خواه", "fullname");
$col = $dg->addColumn("شماره", "RequestID", "");
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:ManageRequests.php

示例12: removeTask

    } else {
        $obj->RegPersonID = $_SESSION["USER"]["PersonID"];
        $obj->CreateDate = PDONOW;
        $result = $obj->AddTask();
    }
    Response::createObjectiveResponse($result, "");
    die;
}
function removeTask()
{
    $result = FRW_tasks::DeleteTask($_POST["TaskID"]);
    Response::createObjectiveResponse($result, "");
    die;
}
//-----------------------------------------------------------------
$dgh = new sadaf_datagrid("dg", $js_prefix_address . "ManageRequests.php?task=SelectAll", "div_dg");
$dgh->addColumn("", "TaskID", "", true);
$dgh->addColumn("", "details", "", true);
$dgh->addColumn("", "DoneDesc", "", true);
$dgh->addColumn("", "DoneDate", "", true);
$dgh->addColumn("", "SystemID", "", true);
$col = $dgh->addColumn("سیستم", "SysName");
$col->width = 140;
$col = $dgh->addColumn("ایجاد کننده", "RegPersonName");
$col->width = 110;
$col = $dgh->addColumn("عنوان", "title");
$col->renderer = "function(v,p,r){ return TaskRequestObj.DescRender(v,p,r);}";
$col = $dgh->addColumn("زمان ایجاد", "CreateDate", GridColumn::ColumnType_datetime);
$col->width = 120;
$col = $dgh->addColumn("وضعیت", "TaskStatus");
$col->renderer = "function(v,p,r){ return TaskRequestObj.StatusRender(v,p,r);}";
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:ManageRequests.php

示例13: sadaf_datagrid

//	Programmer	: SH.Jafarkhani
//	Date		: 1394.06
//-----------------------------
require_once '../header.inc.php';
require_once inc_dataGrid;
if (isset($_SESSION["USER"]["portal"])) {
    $portal = true;
    $PersonID = $_SESSION["USER"]["PersonID"];
} else {
    $portal = false;
    $PersonID = $_POST["PersonID"];
}
if (empty($PersonID)) {
    die;
}
$dg = new sadaf_datagrid("dg", $js_prefix_address . "../../office/dms/dms.data.php?task=SelectAll&ObjectType=Person&ObjectID=" . $PersonID, "grid_div");
$dg->addColumn("", "DocumentID", "", true);
$dg->addColumn("", "ObjectType", "", true);
$dg->addColumn("", "ObjectID", "", true);
$dg->addColumn("", "IsConfirm", "", true);
$col = $dg->addColumn("مدرک", "DocType", "");
$col->editor = ColumnEditor::ComboBox(PdoDataAccess::runquery("select * from BaseInfo where typeID=8"), "InfoID", "InfoDesc");
$col->width = 140;
$col = $dg->addColumn("توضیح", "DocDesc", "");
$col->editor = ColumnEditor::TextField(true);
$col = $dg->addColumn("فایل", "FileType", "");
$col->renderer = "function(v,p,r){return PersonalInfo.FileRender(v,p,r)}";
$col->editor = "this.FileCmp";
$col->align = "center";
$col->width = 100;
$col = $dg->addColumn("عملیات", "", "");
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:PersonInfo.php

示例14: array

$Essence = array(array('val' => 'DEBTOR', 'name' => 'بدهکار'),
    array('val' => 'CREDITOR', 'name' => 'بستانکار'),
    array('val' => 'NONE', 'name' => 'هیچکدام'));

$temp = array(
	array("LevelID" => 0, "LevelTitle" => "گروه حساب", "HasEssence" => false, "HasGroup" => false),
	array("LevelID" => 1, "LevelTitle" => "حساب کل", "HasEssence" => true, "HasGroup" => true),
	array("LevelID" => 2, "LevelTitle" => "حساب معین", "HasEssence" => false, "HasGroup" => false),
	array("LevelID" => 3, "LevelTitle" => "حساب جزء معین", "HasEssence" => false, "HasGroup" => false)
);
for ($i = 0; $i < count($temp); $i++) {
    $levelID = $temp[$i]['LevelID'];
    $levelTitle = $temp[$i]['LevelTitle'];

    $BlockGrid = new sadaf_datagrid('BlockGrid', $js_prefix_address . 'baseinfo.data.php?' .
		'task=SelectBlocks&level=' . $levelID, 'BlockGrid_Box');

    $BlockGrid->addColumn('', "BlockID", "", true);
    $BlockGrid->addColumn('', "LevelID", "", true);
    $BlockGrid->addColumn('', "IsActive", "", true);

    $col = $BlockGrid->addColumn('کد', "BlockCode");
    $col->width = 80;
    $col->editor = ColumnEditor::TextField();

    $col = $BlockGrid->addColumn('شرح', "BlockDesc");
    $col->editor = ColumnEditor::TextField();
	
	if ($temp[$i]["HasGroup"]) {
        $col = $BlockGrid->addColumn('گروه حساب', "GroupID");
        $col->width = 150;
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:blocks.php

示例15: sadaf_datagrid

<?php

//---------------------------
// programmer:	Mahdipour
// create Date:	90.02
//---------------------------
require_once '../../../header.inc.php';
require_once inc_dataGrid;
require_once '../js/salary_param_type.js.php';
$pdg = new sadaf_datagrid("pdg", $js_prefix_address . "../data/salary_param_type.data.php?task=selectAll", "pdgDiv");
$pdg->addColumn('', "param_type", "int", true);
$col = $pdg->addColumn('عنوان پارامتر', "title", "string");
$col->editor = ColumnEditor::TextField();
$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);}";
开发者ID:jafarkhani,项目名称:rtfund,代码行数:31,代码来源:salary_param_type.php


注:本文中的sadaf_datagrid类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。