Skip to content

ZMSRecordSet: multiple row inserting in grid-view#350

Open
drfho wants to merge 2 commits into
mainfrom
fix_346_recordset_gridview_2
Open

ZMSRecordSet: multiple row inserting in grid-view#350
drfho wants to merge 2 commits into
mainfrom
fix_346_recordset_gridview_2

Conversation

@drfho

@drfho drfho commented Dec 26, 2024

Copy link
Copy Markdown
Contributor

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

zmsdev commented Jan 3, 2025

Copy link
Copy Markdown
Contributor

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

zmsdev commented Jan 3, 2025

Copy link
Copy Markdown
Contributor

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

@drfho

drfho commented Jan 4, 2025

Copy link
Copy Markdown
Contributor Author

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