使用FormGrid,如何让组件独占一行 #3858
Unanswered
wang1259101004
asked this question in
Q&A [2.x]
Replies: 1 comment 2 replies
-
grid内部会自动计算并填充空隙,可以给grid传入 strictAutoFit规避 const span = grid.options.strictAutoFit
? targetSpan
: targetSpan > remainColumns
? remainColumns
: targetSpan |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如上图所示,我设置FormGrid maxColumns为4 假设图中两个元素,我如果想让richtextBox独占一行 给他gridSpan设为4,textarea设为2,但是richtextBox没挤下去。如果不给textarea设为4,怎么通过设置richtextBox来让richtextBox独占一行,而不是设置前一个元素把后一个元素挤下去。
Beta Was this translation helpful? Give feedback.
All reactions