Add Custom Button to Designer

Stimulsoft Reports.ANGULAR discussion
Post Reply
Ali.A
Posts: 12
Joined: Thu Mar 10, 2022 6:34 pm

Add Custom Button to Designer

Post by Ali.A »

Hi,

I'm looking to add a custom button to the designer toolbar. Has anyone gotten this to work?

Similar to this post:

viewtopic.php?t=58790

Cheers
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Add Custom Button to Designer

Post by Lech Kulikowski »

Hello,

You can use the same code as in the provided post.

Thank you.
Ali.A
Posts: 12
Joined: Thu Mar 10, 2022 6:34 pm

Re: Add Custom Button to Designer

Post by Ali.A »

This object is not accessible through angular component.
Ali.A
Posts: 12
Joined: Thu Mar 10, 2022 6:34 pm

Re: Add Custom Button to Designer

Post by Ali.A »

This is all I can access

export declare class StimulsoftDesignerComponent implements OnInit, OnChanges {
designerEl: ElementRef;
/**
* Occurs when designer loaded
*/
designerLoaded: EventEmitter<any>;
/**
* Url to server instance (designer controller)
* Example: http://server.url:51528/api/designer
*/
requestUrl: string;
/**
* The width of Designer
*/
width: string;
/**
* The height of Designer
*/
height: string;
id: string;
designer: any;
chartScripts: any;
private loaded;
constructor();
ngOnInit(): void;
ngOnChanges(changes: import('@angular/core').SimpleChanges): void;
addScript(): void;
showDesigner(): void;
get head(): HTMLHeadElement;
Ali.A
Posts: 12
Joined: Thu Mar 10, 2022 6:34 pm

Re: Add Custom Button to Designer

Post by Ali.A »

see attached. I tried with designer object. buts its missing firstchild object
download.jpg
download.jpg (135.01 KiB) Viewed 9832 times
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Add Custom Button to Designer

Post by Lech Kulikowski »

Hello,

We will add a such sample in our samples. We need some time for it.

Thank you.
Ali.A
Posts: 12
Joined: Thu Mar 10, 2022 6:34 pm

Re: Add Custom Button to Designer

Post by Ali.A »

Thank you
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Add Custom Button to Designer

Post by Max Shamanov »

Hello, ​Sadanobu.

We are always glad to help you.
Let us know if you need our help.

Thank you.
Post Reply