48 lines
1.4 KiB
PHP
48 lines
1.4 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace Builder\View\Grid\Table;
|
|
class Attributes
|
|
{
|
|
public $pk;
|
|
protected $formExcludePk = true;
|
|
public $rowSelection = '';
|
|
public $bordered =[
|
|
'wrapper'=>true,
|
|
'cell'=>false
|
|
];
|
|
public $hideExpandButtonOnEmpty =true;
|
|
public $pageSize =15;
|
|
public $pageSizeOption = [10, 20, 30, 50, 100];
|
|
public $tablePagination = false;
|
|
public $expandAllRows = false;
|
|
public $expandSearch = false;
|
|
public $stripe = true;
|
|
public $size = 'large';
|
|
public $searchLabelWidth = 'auto';
|
|
public $searchLabelAlign = 'right';
|
|
public $searchColNumber = 4;
|
|
public $searchSubmitButtonText = '搜索';
|
|
public $searchResetButtonText = '重置';
|
|
public $isExpand = false;
|
|
public $showTools = true;
|
|
public $resizable= true;
|
|
public $stickyHeader= true;
|
|
public $columnWidth=100;
|
|
public $autoRequest=true;
|
|
public $dataCompleteRefresh=true;
|
|
public $isDbClickEdit=true;
|
|
public $showExpandRow=false;
|
|
public $showSummary=false;
|
|
public $summary=false;
|
|
public $customerSummary='false';
|
|
public $showIndex=true;
|
|
public $requestParamsLabel='';
|
|
public $indexLabel ='序号';
|
|
public $operationColumn=false;
|
|
public $operationWidth=160;
|
|
public $operationColumnText='操作';
|
|
public $searchCustomerLayout=false;
|
|
public $pageLayout='normal';
|
|
public $formOption=[];
|
|
}
|