Add Custom Button to Designer
Add Custom Button to Designer
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
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
-
- Posts: 5424
- Joined: Tue Mar 20, 2018 5:34 am
Re: Add Custom Button to Designer
Hello,
You can use the same code as in the provided post.
Thank you.
You can use the same code as in the provided post.
Thank you.
Re: Add Custom Button to Designer
This object is not accessible through angular component.
Re: Add Custom Button to Designer
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;
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;
Re: Add Custom Button to Designer
see attached. I tried with designer object. buts its missing firstchild object
-
- Posts: 5424
- Joined: Tue Mar 20, 2018 5:34 am
Re: Add Custom Button to Designer
Hello,
We will add a such sample in our samples. We need some time for it.
Thank you.
We will add a such sample in our samples. We need some time for it.
Thank you.
Re: Add Custom Button to Designer
Thank you
-
- Posts: 577
- Joined: Tue Sep 07, 2021 10:11 am
Re: Add Custom Button to Designer
Hello, Sadanobu.
We are always glad to help you.
Let us know if you need our help.
Thank you.
We are always glad to help you.
Let us know if you need our help.
Thank you.