Replies: 3 comments 5 replies
-
Yes, me too, I am going to ask this question |
Beta Was this translation helpful? Give feedback.
1 reply
-
Use @Serenity.Decorators.registerEditor()
export class MultipleFileUploadDownLoadAllEditor extends Serenity.MultipleFileUploadEditor {
constructor(div: JQuery, opt: Serenity.FileUploadEditorOptions) {
super(div, opt);
}
protected getToolButtons(): Serenity.ToolButton[] {
var buttons = super.getToolButtons();
buttons.push({
title: "download all",
cssClass: 'download-all-file-button',
onClick: function () {
}
});
return buttons;
}
} |
Beta Was this translation helpful? Give feedback.
4 replies
-
If done without an editor abcEndpoint.cs
abcDialog.ts
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day. Can't create a new editor based on MultipleFileUploadEditor ((
How can I add a button to download everything in the archive?
@Serenity.Decorators.registerEditor()
export class MultipleFileUploadDownLoadAllEditor extends Serenity.MultipleImageUploadEditor {
I will describe the archiving and downloading logic. I can't add a button to the editor.
Beta Was this translation helpful? Give feedback.
All reactions