mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 Database table view supports synchronizing column width to other table views https://github.com/siyuan-note/siyuan/issues/11022
This commit is contained in:
parent
1bb0c983e8
commit
43d533ce1d
2 changed files with 56 additions and 1 deletions
|
|
@ -303,6 +303,8 @@ func performTx(tx *Transaction) (ret *TxErr) {
|
|||
ret = tx.doHideAttrViewGroup(op)
|
||||
case "setGroupHideEmpty":
|
||||
ret = tx.doSetGroupHideEmpty(op)
|
||||
case "syncAttrViewTableColWidth":
|
||||
ret = tx.doSyncAttrViewTableColWidth(op)
|
||||
}
|
||||
|
||||
if nil != ret {
|
||||
|
|
@ -1502,7 +1504,7 @@ type Operation struct {
|
|||
Name string `json:"name"` // 属性视图列名
|
||||
Typ string `json:"type"` // 属性视图列类型
|
||||
Format string `json:"format"` // 属性视图列格式化
|
||||
KeyID string `json:"keyID"` // 属性视列 ID
|
||||
KeyID string `json:"keyID"` // 属性视图字段 ID
|
||||
RowID string `json:"rowID"` // 属性视图行 ID
|
||||
IsTwoWay bool `json:"isTwoWay"` // 属性视图关联列是否是双向关系
|
||||
BackRelationKeyID string `json:"backRelationKeyID"` // 属性视图关联列回链关联列的 ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue