Telerik Forums
Kendo UI for Angular Forum
4 answers
842 views

I have an object 

 

export class NameGroup {

    nameGroupId: number;
    nameGroupString: string;
    sequence: number;
    creationDate?: Date;
    lastModifiedDate?: Date

}

and a component that has 

public nameGroups: Array<NameGroup> = [];
public selectedNameGroups: Array<NameGroup> = [];

 

the component template is as follows: 

<kendo-multiselect
    #nameGroupList
    [data]="nameGroups"
    [(ngModel)]="selectedNameGroups"
    textField="nameGroupString" 
    valueField="nameGroupId"
    [valuePrimitive]="false"
    name="nameGroupList"
></kendo-multiselect>

 

The object binding is not working. Will not show what values are selected in the input box even though the dropdown has them selected when it opens.

What am I doing wring? I know in previous versions of progress for angular you had to give the dropdown a function that could compare the objects. Is this still true?

 

Svet
Telerik team
 answered on 28 Mar 2019
2 answers
955 views

Hi,

I am using kendo-window in my application. When I open the window by clicking on a  button,it opens, but the focus is not on the kendo-window. As a result, if I click on the 'X' icon, it does not close. I have to first click somewhere on the kendo-window before the 'X' icon/button works (i.e it closes the window).

Is there a way to set the focus on the kendo-window upon opening? I am using Angular 6. This is usability issue and needs to be resolved.

In my test app, where I have this as a standalone project like we see in stackblitz, it works. I can't understand why it would behave differently in my real application.

Any pointers would be really helpful.

Regards,

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 27 Mar 2019
1 answer
1.3K+ views

Hi there,

By default, the datepicker control automatically resets the value if manually entering an invalid day, or month value) . I.e. if day = '43' it changes it to '03', if month = '14' it changes it to '4').

Is it possible to simple show an "invalid date" message in this case so that the user is aware that a correction is needed? The control currently picks a valid value so the user is not aware that they entered an invalid date.

Thanks,

Anthea

Dimiter Topalov
Telerik team
 answered on 27 Mar 2019
1 answer
519 views

Hi there,

By default the control removes the selected tag if a user selects the same value from the list. There is a way to keep the selected value tag if we allow custom value entries. Is it possible to keep duplicate value tags as selected, but NOT allow custom value input?

Thanks,

Anthea

Dimitar
Telerik team
 answered on 27 Mar 2019
1 answer
1.5K+ views

Is there a way to style the background color of events depending on the type of event?  I know i can globally set the event background colors using something like this 

.k-event{background-color: #d5d5d5;}

 

but this doesn't help when different types of events have different colors.  I would imagine some type of class attribute on the SchedulerEvent object would achieve this but it doesn't exist.  Is there any work around for this?

Martin Bechev
Telerik team
 answered on 26 Mar 2019
5 answers
961 views

How to achieve the same funtionality in Angular 5?

https://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/scrolling-and-multi-row-tabs/defaultcs.aspx

Dimiter Topalov
Telerik team
 answered on 26 Mar 2019
3 answers
1.0K+ views

Hi,

I have a kendo-window with a grid and other text component in it. I have a requirement where I need to have a fixed height say 450 px and width of 850px.I need to be able to resize horizontally but the height should not be resizable.

Is this achievable?

If I set the [resizable] attribute to false, then I cannot resize the kendo-window at all.

Is re-sizing only horizontally supported/ If so how can that be done?

Any help is greatly appreciated.

Regards,

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 22 Mar 2019
2 answers
211 views

HI,

 

I have a requirement that the kendo-window need to have a solid black border. I can acheive this by setting the following style in css

.hist-window{
    border: 2px solid rgb(44, 11, 192) ;
}

And applying this style to kendo-window. 

<kendo-window #kendoWinfoInstance class="hist-window" title="WorkFlow" *ngIf="opened" (close)="close()"
[width]="850" [minHeight]="450" [resizable]="true"

The problem is, the boarder appears only on focus. I need this border to remain even when the window is out of focus. How can I achieve this?

Regards,

Jyothi

 

 

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 22 Mar 2019
1 answer
91 views

Hi,

 

Is it possible to have different sizes of sortable items within the same sortable component?

[itemStyle] seems to apply to all items, but curious to know if it is possible.

 

/Flemming

Alexander Popov
Telerik team
 answered on 22 Mar 2019
3 answers
435 views

kendoGridEditTemplate is ignored if the grid data has only one row.

See my demo: https://angular-faioq7.stackblitz.io

You have to click twice on the cell to reach the default editor within the stackblitz demo.

In my local project happens this even on the first click.

>1 rows work fine.

 

 

Mario
Top achievements
Rank 1
 answered on 21 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?