Skip to content

Dynamic Editor Configuration Request #1692

Answered by ghiscoding
hwlv asked this question in Q&A
Discussion options

You must be logged in to vote

it doesn't work because internally because Slickgrid-Universal, or other any other ports like Slickgrid-React, now keeps 2 references to the Editor as shown below

return columns.map((column) => {
// on every Editor that have a "collectionAsync", resolve the data and assign it to the "collection" property
if (column.editor?.collectionAsync) {
this.loadEditorCollectionAsync(column);
}
return { ...column, editorClass: column.editor?.model };
});

So you need to update both references to make it work, editor.model and editorClass

c…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@hwlv
Comment options

@ghiscoding
Comment options

Answer selected by ghiscoding
@hwlv
Comment options

@ghiscoding
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested wontfix This will not be worked on
3 participants
Converted from issue

This discussion was converted from issue #1689 on September 24, 2024 03:47.