Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

🧐[问题] 表格行高 options.density 密度设置 和 table的 size 如何同时使用,defaultSize的作用 #749

Open
690591397 opened this issue Jul 30, 2021 · 1 comment

Comments

@690591397
Copy link

🧐 问题描述

ProTable size设置为small时候, options属性下的density设置为true。无论怎么选择密度,都是size small 。
请问怎么样能做到默认small,还能选择切换其他的行高密度?

💻 示例代码

https://procomponents.ant.design/components/table/?current=1&pageSize=5#datasource
文档的第一个案例。

🚑 其他信息

const initData = {
  size: 'small',
  options: {
    show: true,
    density: true,
    fullScreen: true,
    setting: true,
  },
};
@vision-ken
Copy link

这个问题有进展吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants