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:inputTable支持initDrag动作 Close #8712 #8725

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

hsm-lv
Copy link
Collaborator

@hsm-lv hsm-lv commented Nov 14, 2023

What

🤖 Generated by Copilot at 8c2036d

This pull request adds drag and drop support to the InputTable component, which allows users to sort the table rows by dragging them. It also updates the documentation of the component with the new initDrag action and an example.

🤖 Generated by Copilot at 8c2036d

Drag and drop the rows of doom
Sort the data as you please
initDrag is your power tool
InputTable will make them freeze

Why

How

🤖 Generated by Copilot at 8c2036d

  • Add a new action initDrag to the input-table component that enables the table drag and drop sorting feature (link, link)
  • Add a new property table to the InputTable class that holds a reference to the table component instance (link, link)
  • Add an example schema to the documentation of the reset action that shows how to use the initDrag action to start the table sorting feature with a button click (link)

@github-actions github-actions bot added the feat label Nov 14, 2023
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@hsm-lv hsm-lv requested a review from 2betop November 14, 2023 04:15
@hsm-lv hsm-lv linked an issue Nov 14, 2023 that may be closed by this pull request
@hsm-lv hsm-lv changed the title feat:inputTable支持initDrag动作 feat:inputTable支持initDrag动作 Close #8712 Nov 14, 2023
@igrowp igrowp merged commit 8fc664e into baidu:master Nov 14, 2023
5 checks passed
@hsm-lv hsm-lv deleted the feat-action branch November 14, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

希望input-table组件f支持下table组件的initDrag动作功能
3 participants