This commit is contained in:
Daniel 2025-07-04 16:42:37 +08:00
parent eafe42fe59
commit 99db625cf7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 24 additions and 17 deletions

View file

@ -45,9 +45,9 @@ func NewLayoutTable() *LayoutTable {
type ViewTableColumn struct {
*BaseField
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc,omitempty"` // 计算
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *FieldCalc `json:"calc,omitempty"` // 计算规则
}
// Table 描述了表格视图实例的结构。
@ -63,9 +63,9 @@ type Table struct {
type TableColumn struct {
*BaseInstanceField
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc"` // 计算
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *FieldCalc `json:"calc"` // 计算规则和结果
}
// TableRow 描述了表格实例行的结构。