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

ZMSRecordSet: multiple row inserting in grid-view #350

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

Conversation

drfho
Copy link
Contributor

@drfho drfho commented Dec 26, 2024

Ref: #347

1st changeset prepares for variable iteration of inserting rows in ZMSCustom..manage_changeRecordGrid.retrieve()
2nd changeset prepares file input-set for multiple insertions.

@zmsdev : there is still an open problem:
Changing the sorting order of the rows just works on the frontend, but cannot be saved

@drfho drfho requested a review from zmsdev December 26, 2024 17:23
@drfho drfho added the enhancement New feature or request label Dec 28, 2024
@zmsdev zmsdev self-assigned this Dec 29, 2024
@zmsdev
Copy link
Contributor

zmsdev commented Jan 3, 2025

You can solve the problem by adding a new attribute '_sort_id' of type 'int' manually to the content-object defintion of your record-grid.
We could add this attribute hidden and implicitly to the ZMS core but this would be a bit tricky.

@zmsdev
Copy link
Contributor

zmsdev commented Jan 3, 2025

Perhaps we should hide the sort -selects If sorting is not supported due to missing _sort_id?

@drfho
Copy link
Contributor Author

drfho commented Jan 4, 2025

okay, a first fast-fix to make it mergable

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

Successfully merging this pull request may close these issues.

2 participants