Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个弹性网格,我有verticalScrollPolicy="auto". 但是每次滚动条出现时,所有的列都会被推到左边,使列不对齐。我尝试在所有列上设置 minWidth 以防止这种情况发生,但这似乎不起作用。有任何想法吗?
verticalScrollPolicy="auto"
这是 flex dataGrids 的默认行为。如果它困扰你,你可以设置verticalScrollPolicy="on",无论是否需要它都会绘制滚动条,并且网格不会调整大小。