Good day!
I have a ComboBox (CB) residing in a FormField that works just fine. I wanted to convert it to the MultiColumnComboBox (MCCB) to show a couple of extra fields. I don't have time today, maybe over the weekend, to create a small, self contained example. Yet, here are the two similar sections and their results:
CB
<kendo-formfield [showHints]="'always'" [showErrors]="'always'"> <kendo-label [for]="'companyProfile'" text="Company Profile: "></kendo-label> <kendo-combobox ngDefaultControl [data]="companyProfiles" [formControlName]="'companyProfile'" [textField]="'companyName'" [valueField]="'id'" [filterable]="true" (filterChange)="companyProfilesFilter($event)"> </kendo-combobox> <kendo-formerror> <div *ngIf="formGroup.get('companyProfile').errors && formGroup.get('companyProfile').errors.required"> Company profile is required. </div> </kendo-formerror></kendo-formfield>
MCCB
<kendo-formfield [showHints]="'always'" [showErrors]="'always'"> <kendo-label [for]="'companyProfile'" text="Company Profile: "></kendo-label> <kendo-multicolumncombobox ngDefaultControl [data]="companyProfiles" [formControlName]="'companyProfile'" [textField]="'companyName'" [valueField]="'id'" [filterable]="true" (filterChange)="companyProfilesFilter($event)"> <kendo-combobox-column [field]="'companyName'" [title]="'Name'" [width]="250"> </kendo-combobox-column> <kendo-combobox-column [field]="'companyId'" [title]="'Profile Name'" [width]="250"> </kendo-combobox-column> </kendo-multicolumncombobox> <kendo-formerror> <div *ngIf="formGroup.get('companyProfile').errors && formGroup.get('companyProfile').errors.required"> Company profile is required. </div> </kendo-formerror></kendo-formfield>
MCCB Without ngDefaultControl
As you can see I added the ngDefaultControl to the control after getting the following error on the MCCB without it:
ERROR Error: No value accessor for form control with name: 'companyProfile' at _throwError (forms.js:3576) at setUpControl (forms.js:3400)
By adding it, I did not get a javascript error any longer, but with no dropdown content as seen above.
Anything obvious to someone?
Peace,
Keith
Hi, I am working with Kendo UI for Angular TileLayout components and I want to save the state of tiles after a user re-orders them. I see it's possible in other libraries and I wonder if it's possible in Angular library as well.
Thanks!

Hello,
Many thanks for such a wonderful solution. I am however facing a problem. We are having a full screen use case in our application and have a groupable table. When I drag table headers to top the draggable element is visible when screen is not full screen but not visible while in full screen.
I checked one more thread mentioning about, Where popup element is appended to a div rather than to body.
providers: [{
provide: POPUP_CONTAINER,
useFactory: () => {
//return the container ElementRef, where the popup will be injected
return { nativeElement: document.querySelector('.fullscreenDiv') } as ElementRef;
}
}]
But This solution is applicable to popup element. In my case Drag element is getting appended to body tag and hence being invisible. If somehow I can append it to internal div then it will work.
Hello,
I need to programmatically expand and collapse a row (maybe by id). Can it be done somehow?
Also is it possible to expand and collapse the tree completely programmatically?
Thanks,
B
Is there a way to select the next row when we hit keydown or keyup using the keyboard?
I tried setting the navigable property to true but in that case we have to hit enter to explicitly select a row. I want to select the next row on the keydown and keyup event.
Hello,
Hello, I rewrite the thread because it was deleted.
I'm trying to translate window action buttons using the WindowService.
Unfortunately they are not translated and I have an error in the console:
preview-c9f765cddfc622204e06b.js:1 ERROR TypeError: Cannot set property 'closeTitle' of undefined
Is this a known issue?
Here you can replicate the issue;
https://stackblitz.com/edit/angular-hvvwkt
Thanks,
B
Hi!
I try to use drawer component as a menu. So I configured the items as in example https://stackblitz.com/run/?file=app%2Fproducts.component.ts .
If I try to use a link like <a [routerLink]="['/']">to home</a> in product.component.ts it redirect me to home page. But in drawer component the active item isn't change. It stays at Products.
Shouldn't the Home item be active? Are my expectations wrong?
Thank you in advance.
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
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