mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Database supports setting display field icons https://github.com/siyuan-note/siyuan/issues/15089
This commit is contained in:
parent
921cddd2fa
commit
1991e2b76f
6 changed files with 60 additions and 51 deletions
|
|
@ -44,14 +44,11 @@ func NewLayoutTable() *LayoutTable {
|
|||
|
||||
// ViewTableColumn 描述了表格列的结构。
|
||||
type ViewTableColumn struct {
|
||||
ID string `json:"id"` // 列 ID
|
||||
*BaseField
|
||||
|
||||
Wrap bool `json:"wrap"` // 是否换行
|
||||
Hidden bool `json:"hidden"` // 是否隐藏
|
||||
Pin bool `json:"pin"` // 是否固定
|
||||
Width string `json:"width"` // 列宽度
|
||||
Desc string `json:"desc,omitempty"` // 列描述
|
||||
Calc *ColumnCalc `json:"calc,omitempty"` // 计算
|
||||
Pin bool `json:"pin"` // 是否固定
|
||||
Width string `json:"width"` // 列宽度
|
||||
Calc *ColumnCalc `json:"calc,omitempty"` // 计算
|
||||
}
|
||||
|
||||
// Table 描述了表格实例的结构。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue