Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 定制操作列按钮 #117

Closed
donaldshen opened this issue Jun 4, 2019 · 1 comment
Closed

feat: 定制操作列按钮 #117

donaldshen opened this issue Jun 4, 2019 · 1 comment

Comments

@donaldshen
Copy link
Contributor

Why

组件使用者有定制操作列样式的需求。一般是通过插入自定义列然后调用内部方法(如onDefaultEdit)的方式。但内部方法有可能在重构中被变更造成无意的破坏性更新。

How

  1. 建议标记onDefaultEdit之类的方法为public,显式出现在文档中;
  2. 或者,增加3个props,可以覆盖定制操作列三个按钮的所有属性
@levy9527
Copy link
Contributor

levy9527 commented Jul 3, 2019

在这里解决 #104

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

No branches or pull requests

2 participants