Save button is not work in dialog when i use loadNewAndOpenDialog or loadEntityAndOpenDialog #7205
-
My code in GridEditorBase grid:
} My Code in Dialog: @Decorators.registerClass('Budget.BasicData.BudgetOrganizationGridEditorDialog') How to solve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
One things I see that is different from how I use loadNewAndOpenDialog (which works fine): Why have you commented out I can't comment on your usage of loadEntityAndOpenDialog, although that has always worked fine for me as well. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK @wow-prime I'm sorry to have to keep asking you questions, but while I understand your dialog a bit better now, I still don't understand the button on the grid row that you are using to invoke the dialog, and what it is supposed to be doing for you. And it is the way you are invoking the dialog that is causing the problem you are trying to solve. So, as I asked before:
I want to try to repro your scenario so I can see what is not working for you with loadNewAndOpenDialog or loadEntityAndOpenDialog. But I am not sure which of the above two scenarios I need to repro. If you are doing neither of these two things, explain what the button on the grid row is doing, and I will try to repro that. OK? |
Beta Was this translation helpful? Give feedback.
-
You can not use ordinary dialog operations as GridEditor is in memory and has to bind to the dialogs events for saving deleting etc. to work. Use this.editItem |
Beta Was this translation helpful? Give feedback.
-
How to add item in memory grid opening new dialog? |
Beta Was this translation helpful? Give feedback.
You can not use ordinary dialog operations as GridEditor is in memory and has to bind to the dialogs events for saving deleting etc. to work. Use this.editItem