🎨 Attribute view support sticky layout https://github.com/siyuan-note/siyuan/pull/9617

This commit is contained in:
Daniel 2023-11-10 10:22:19 +08:00
parent 2802efdfb3
commit a1ac6fb867
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 39 additions and 0 deletions

View file

@ -39,6 +39,7 @@ type ViewTableColumn struct {
Wrap bool `json:"wrap"` // 是否换行
Hidden bool `json:"hidden"` // 是否隐藏
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc,omitempty"` // 计算
}
@ -562,6 +563,7 @@ type TableColumn struct {
Icon string `json:"icon"` // 列图标
Wrap bool `json:"wrap"` // 是否换行
Hidden bool `json:"hidden"` // 是否隐藏
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc"` // 计算