Telerik Forums
Kendo UI for Angular Forum
1 answer
5.4K+ views

I have a requirement where I need to either display simple text if available otherwise need to show dropdown list in the same column in Kendo Grid. The list items for every row need to bound at runtime and this list item is part of the data source to which grid is bound to.

Kindly help

Hetali
Telerik team
 updated answer on 29 Apr 2021
1 answer
1.0K+ views
This is the first time I am using kendo listview and I am wondering how to get the selected Item from the listView ! I mean how can I change the listView to selectable and then how can I recuperate the selected Item ? Can anyone help me ?
Dimiter Madjarov
Telerik team
 answered on 29 Apr 2021
1 answer
1.7K+ views

Hello, 

I'm using Kendo UI Grid for Angular. I'm using the ColumnMenuChooser component in two places in my code.

In one place, I'm using just the generic directive :

<kendo-grid-columnmenu-chooser [service]="service">
</kendo-grid-columnmenu-chooser>

In another place, I'm using a more customized code :

<ng-template #template>
<kendo-grid-columnlist
[columns]="columns"
[applyText]="localization.get('columnsApply')"
[resetText]="localization.get('columnsReset')"
[autoSync]="autoSync"
[allowHideAll]="allowHideAll"
(apply)="onApply($event)"
(columnChange)="onChange($event)"
>
</kendo-grid-columnlist>
</ng-template>

In both places, is it possible to disable a column's checkbox according to its column's property ?

I know this was possible in Kendo UI grid for jQuery but I can't find a way to do it in Kendo UI for Angular.

The goal is that if a given column has a certain property true (for example "locked = true", then it would be impossible for the end user to hide it via the ColumnMenuChooser component.

Thank you in advance

 

Svet
Telerik team
 answered on 29 Apr 2021
2 answers
1.2K+ views

Hello, 
I'm using Kendo UI Grid for Angular. I'm using the ColumnMenuChooser component in two places in my code.
In one place, I'm using just the generic directive :

<kendo-grid-columnmenu-chooser [service]="service">
</kendo-grid-columnmenu-chooser>

In another place, I'm using a more customized code :

<ng-template #template>
<kendo-grid-columnlist
[columns]="columns"
[applyText]="localization.get('columnsApply')"
[resetText]="localization.get('columnsReset')"
[autoSync]="autoSync"
[allowHideAll]="allowHideAll"
(apply)="onApply($event)"
(columnChange)="onChange($event)"
>
</kendo-grid-columnlist>
</ng-template>

In both places, is it possible to disable a column's checkbox according to its column's property ?
I know this was possible in Kendo UI grid for jQuery but I can't find a way to do it in Kendo UI for Angular.
The goal is that if a given column has a certain property true (for example "locked = true", then it would be impossible for the end user to hide it via the ColumnMenuChooser component.
Thank you in advance

Svet
Telerik team
 answered on 29 Apr 2021
1 answer
1.2K+ views

Hi Team,

I'm trying to set my grid height to 80vh but I'm not able to do it.

<kendo-grid [groupable]="true" [data]="gridData" [height]="80vh">

Can you provide me any example?

Regards,

Srinivas

Hetali
Telerik team
 answered on 28 Apr 2021
1 answer
237 views

Hello,
i want to translate the kendo-recurrence-editor into german.
I found the kendo-recurrence-editor-messages and now it look's fine ... but there is one translation in a kendo-datepicker inside the recurrence-editor, that i couldn't translate.
Is there any solution?

<kendo-recurrence-editor formControlName='regelwerk'>
<kendo-recurrence-editor-messages repeat="Wiederholen"
frequenciesNever="Nie"
frequenciesDaily="Täglich"
frequenciesWeekly="Wöchentlich"
frequenciesMonthly="Monatlich"
frequenciesYearly="Jährlich"
dailyRepeatEvery="Wiederholen an jedem:"
dailyInterval="Tag(e)"
weeklyInterval="Woche(n)"
weeklyRepeatEvery="Wiederholen an jedem:"
weeklyRepeatOn="Wiederholen am:"
monthlyRepeatEvery="Wiederholen an jedem:"
monthlyRepeatOn="Wiederholen am:"
monthlyInterval="Monat(e)"
monthlyDay="Tag"
yearlyRepeatEvery="Wiederholen an jedem:"
yearlyRepeatOn="Wiederholen am:"
yearlyInterval="Jahr(e)"
yearlyOf="von"
endLabel="Beenden:"
endAfter="Nach"
endOccurrence="Anzahl Wiederholungen"
endOn="Am"
endNever="Nie"
offsetPositionsFirst="ersten"
offsetPositionsSecond="zweiten"
offsetPositionsThird="dritten"
offsetPositionsFourth="vierten"
offsetPositionsLast="letzten"
weekdaysDay="Tag"
weekdaysWeekday="Wochentag"
weekdaysWeekendday="Tag am Wochenende"
>
</kendo-recurrence-editor-messages>
<kendo-datepicker-messages toggle="Datum auswählen"
today="heute"
nextButtonTitle="vor"
prevButtonTitle="zurück"
></kendo-datepicker-messages>
</kendo-recurrence-editor>

Martin Bechev
Telerik team
 answered on 28 Apr 2021
1 answer
99 views

Hello Team, 

If isAllday option 'false' then if the event exceeds more than 24 hours, then there should be an another option to block the total day with the event card. please include this in your future requirement.

 

Thanks and Regards 

Anto

 

Svet
Telerik team
 answered on 28 Apr 2021
1 answer
229 views
kendoGridDetailTemplate isn't supported with locked columns. Is there an alternate way to display something like a detail row for a grid with locked columns?
Yanmario
Telerik team
 answered on 28 Apr 2021
5 answers
1.4K+ views

Where can I find a complete example on how to use the kendo-angular-upload component with .NET Core 2.1 Web API?

All the example on the Telerik site, shows

[saveUrl]="uploadSaveUrl"
[removeUrl]="uploadRemoveUrl"

How the EndPoint should look like? 

[HttpPost]

public SomeDUmmyMethod(IformFile file) ?????

Yanmario
Telerik team
 answered on 28 Apr 2021
1 answer
3.2K+ views

I see that under the "Column Menu" > "Filter Item" section that there is a way to remove the filter button off a specific column, ie. by adding [filterable]="false" to your <kendo-grid-column-field> selector (https://www.telerik.com/kendo-angular-ui/components/grid/columns/menu/#toc-filter-item).

 

However, the way that I have my code arranged, I use <ng-template> to customize my columns, and use an *ngFor to populate my <kendo-grid-column> columns.

Example in the attached screenshot below:

Is there some way to remove the filter button using <ng-template>? I tried adding the [filterable="false" to my <ng-template> for the kendoGridFilterMenuTemplate, but it didn't seem to work.
Thank you!

 

Yanmario
Telerik team
 answered on 26 Apr 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?