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

Multi sortable grid in single page supported! #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Superoryco
Copy link

What‘s New?

使用ID Selector替代了SaveOrderBtn中的Class Selector

Why?

当需要在一个Form中添加多个Sortable Grid时, 由于之前使用Class Selector导致点击’Save Order‘后触发重复提交。现在使用Grid Name区分不同按钮,如果一个页面中只存在一个Sortable Grid则用法保持不变,存在多个Sortable Grid时通过$grid->setName('xxx');提供标识从而避免重复提交

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

Successfully merging this pull request may close these issues.

1 participant