更新table组件

This commit is contained in:
JaguarJack
2021-05-07 08:41:41 +08:00
parent 666b837327
commit 58aea6c0db
3 changed files with 74 additions and 0 deletions

View File

@@ -73,6 +73,29 @@ class HeaderItem
return $this->width(50)->type('selection');
}
/**
* 展开行
*
* @time 2021年05月07日
* @return mixed
*/
public function expand()
{
return $this->type('expand');
}
/**
* 固定列
*
* @time 2021年05月07日
* @param bool|string $fixed
* @return bool|mixed
*/
public function fixed($fixed = true)
{
return $this->attributes['fixed'] = $fixed;
}
/**
* dont export
*