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

🐛 [Bug]: Transfer 穿梭框,自定义穿梭框 #343

Open
wujisui opened this issue Jan 9, 2024 · 1 comment
Open

🐛 [Bug]: Transfer 穿梭框,自定义穿梭框 #343

wujisui opened this issue Jan 9, 2024 · 1 comment

Comments

@wujisui
Copy link

wujisui commented Jan 9, 2024

Version

14.1

Angular Version

14.1

Link to minimal reproduction

https://devui.design/14.1.0/components/zh-cn/transfer/demo#transfer-demo-custom

Step to reproduce

在自定义穿梭框demo,

<d-data-table
          #sourceTable
          [dataSource]="basicDataSource"
          [checkable]="true"
          (rowCheckChange)="sourceRowCheckChange($event)"
          (checkAllChange)="sourceCheckAllChange()"
          (pageIndexChange)="sourceChangePageContent($event)"
        >
        <d-column
            *ngFor="let col of columns"
            [field]="col.field"
            [header]="col.header"
          >
          </d-column>
</d-data-table>
   1. 其中"pageIndexChange"不被支持,也没有分页组件;
   2. 其次就是,勾选左边表格数据,点击向右箭头,把数据移动到右边,然后就发现左边表格原本分页的表格没有了分页;
   3. 另外还有一个问题,就是左右穿梭箭头按钮的激活和禁用是通过那个参数控制的呢?
   4. 使用配置column,勾选(全选)穿梭一次之后,穿梭按钮的禁用和激活不受勾选控制,需要多次勾选才恢复正常。

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

@foolmadao
Copy link

1和2的分页datatable组件已经不支持了,需要的话可以自行通过paginaton组件实现,demo代码是历史遗留问题,我们下个版本优化一下。
3,4控制激活是选中的数据长度,customSourceCheckedLen和customTargetCheckedLen;

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