Telerik Forums
Kendo UI for Angular Forum
2 answers
229 views

Hi,

 

There is a requirement that I need to close the button dynamically when one of the dropDown is clicked. How do I close the drop down programatically? We need this asap and the document is not clear on how to achieve this. 

Regards.

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 05 Feb 2021
2 answers
348 views

Hi,

I need to be able to enable/disable dynamically. This is easy when there is a paren child relationship. I can use ViewChild to get access to the disabled variable of the child and that works.

     Example: MySplitButton component have a method to set the flag to true or false

                      setButtonStatus(flag : boolean){
                                  this.isButtonDisabled = flag }

In parent I can access the child and call the method.

 @ViewChild(MySplitButton) splitComponent : MySplitButton;

                     this.splitComponent.setButtonStatus(true);

 

When the MySplitButton component is not the direct child, how do I set access to the this component from lets say grand parent component?

Regards,

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 05 Feb 2021
2 answers
215 views

Hi,

Is there any way to change the look and feel of the keldo-split-button? I have looked at the documentation and I do not see any examples on how to go about it.

The default look of the kendo split button it to have rectangular edges. I would like it to be wounded with a space between the button and arrow.

Regards,

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 03 Feb 2021
1 answer
2.0K+ views

There are error at console with this message "ERROR TypeError: Cannot read property 'nativeElement' of undefined"

you can see it at this link
https://stackblitz.com/edit/angular-k4mfsv?file=src%2Fapp%2Fapp.module.ts

 

Angular 9

kendo modules installed 
    "@progress/kendo-angular-buttons": "^5.4.0",
    "@progress/kendo-angular-common": "^1.2.2",
    "@progress/kendo-angular-dateinputs": "^4.2.2",
    "@progress/kendo-angular-dialog": "^4.1.3",
    "@progress/kendo-angular-dropdowns": "^4.2.6",
    "@progress/kendo-angular-excel-export": "^3.1.3",
    "@progress/kendo-angular-grid": "^4.7.0",
    "@progress/kendo-angular-inputs": "^6.5.0",
    "@progress/kendo-angular-intl": "^2.0.1",
    "@progress/kendo-angular-l10n": "^2.0.1",
    "@progress/kendo-angular-layout": "^4.2.3",
    "@progress/kendo-angular-pdf-export": "^2.0.3",
    "@progress/kendo-angular-popup": "^3.0.5",
    "@progress/kendo-angular-treeview": "^4.1.2",
    "@progress/kendo-data-query": "^1.5.3",
    "@progress/kendo-drawing": "^1.6.0",
    "@progress/kendo-theme-default": "^4.14.0",

Martin
Telerik team
 answered on 14 Apr 2020
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?