Telerik Forums
Kendo UI for Angular Forum
5 answers
277 views

I'm a little confused by the date range component.  I implement it as follows:

<kendo-daterange #daterange>
    <kendo-dateinput kendoDateRangeStartInput format="dd/MM/yyyy" formatPlaceholder="formatPattern"
        [(value)]="range.start" [navigateCalendarOnFocus]="true" autoCorrectOn="change"></kendo-dateinput>
    <kendo-dateinput kendoDateRangeEndInput format="dd/MM/yyyy" formatPlaceholder="formatPattern"
        [(value)]="range.end" [navigateCalendarOnFocus]="true" autoCorrectOn="change"
        [max]="maxDate"></kendo-dateinput>
</kendo-daterange>

which is great (though it would be much better to have the formatting handled by a library such as moment.js).  The popup appears and I can change dates which is also great.

But to actually apply the the changes to the the range object and call an API I have no event????  I have looked at several methods such as implementing a date range popup and then putting an apply button in the header (there is no footer component which seems strange) and also using the valueChanged event to activate an external component such as a button to apply the date changes and call the API.

Surely the date range component should have a button to apply the date changes and call a method in the component which can then call the API with the new date range.

My question is simple, am I missing something?  My date range is driving a chart, the image attached should go some way to explaining.

Svet
Telerik team
 answered on 07 Sep 2018
3 answers
2.3K+ views

Hi,

I am using the kendo grid with kendo-grid-column-group, when I try adding a width to the grid and to each column, the grid does it own thing, and doesnt set the with of the column according to what I wrote .

It sets other columns, and sometimes hides columns, 

What are the rules??

 

Thanks

<kendo-grid-column-group title=Name" >
            <kendo-grid-column field="Name" title="Name" [width]="100">
                <ng-template kendoGridCellTemplate let-dataItem>
                    <span class="whole-cell text-center" )">
                        {{ Name }}
                    </span>
                </ng-template>
            </kendo-grid-column>
 
        </kendo-grid-column-group>
Svet
Telerik team
 answered on 06 Sep 2018
5 answers
141 views

Hi, 

i have a kendo-grid that have a cell editing feature, and a custom template column that have a kendo-upload.

i'm facing 2 issues:

    1st issue:

when the user clicks on the grid cell it shows the upload control after selecting file and uploading it if the focus of the cell is lost the upload is stopped 

is there a way to change this behavior ?

 

 

 

 

Dimiter Madjarov
Telerik team
 answered on 06 Sep 2018
1 answer
127 views

Hi, 

 

i'm using a the kendo treeView component and i want to load 2 different templates based on a specific parameter

i'm not able to do this and i'm always getting the first template that i'm setting 

 

Thank you in advanced 

Salim
Top achievements
Rank 1
 answered on 06 Sep 2018
1 answer
707 views

Hi

 

I use the PDF Export to provide a printing option for some Grids

 

I have attached two files, one screenshot from the grid and the corresponding from the generated PDF

 

As you can see, the € sing is being replaced by a small < and "Ü" overlaps "ok" like there is no space reserverd for characters like öäüÖÄÜ

 

The call is configured with this parameters:

<kendo-pdf-export #pdf paperSize="A4" landscape="true" margin="1cm" [scale]="0.4" *ngIf="printing">
    <event-assignment-print [events]="gridData"></event-assignment-print>
</kendo-pdf-export>

 

best regards

Jürgen

 

WenatexIT
Top achievements
Rank 1
 answered on 05 Sep 2018
3 answers
658 views

Hello,

It's possible to display lines with different width and color between nodes?

Regards,

Bogdan

 

Svet
Telerik team
 answered on 05 Sep 2018
8 answers
2.1K+ views
Hello,
I have a date field where i need to use a filter, but the main problem for my case is that i don't have an opportunity to edit filter options(e.g. is equal to, is not equal to, is after...) that are shown in the dropdown. In my case i need to use only four of them (equal, before, after, ends), so if there is a way to specify what exact options could be shown, I would like to know. 
Regards,
Edik
Svet
Telerik team
 answered on 05 Sep 2018
2 answers
171 views

I'm getting the following warnings in the latest (8/30/18) version 1.5.0.

WARNING in ./node_modules/@progress/kendo-data-query/dist/es/odata.operators.js
15:52-58 "export 'ifElse' was not found in './funcs'
 
WARNING in ./node_modules/@progress/kendo-data-query/dist/es/odata-filtering.operators.js
36:42-48 "export 'ifElse' was not found in './funcs'
 
WARNING in ./node_modules/@progress/kendo-data-query/dist/es/odata-filtering.operators.js
37:49-55 "export 'ifElse' was not found in './funcs'
 
WARNING in ./node_modules/@progress/kendo-data-query/dist/es/odata-filtering.operators.js
70:92-98 "export 'ifElse' was not found in './funcs'

 

Shawn
Top achievements
Rank 1
 answered on 04 Sep 2018
1 answer
685 views

Hi guys,

In the .xlf file, the text for "NO DATA FOUND" (which appears inside an empty kendo-dropdownlist) gets nothing generated for a translation. This means that currently I have my whole project translated, except for this text.

I suspect there is a way to add it to the messages.xlf file in which I have all the translations, but I'm at a loss as to how. Can you give me your insight?

 

Thank You Very Much for your time in advance!

Svet
Telerik team
 answered on 03 Sep 2018
3 answers
1.0K+ views

Hi,

I was a little flabbergasted when I found out that the "AutoComplete" component only handles "Simple Data" - even though there is a parameter called "valueField" and a subtopic under "Data Binding" called "Complex Data". It is impossible to display i.e. the Name of a Person and have the ID of that person as the value of the "AutoComplete" component. Can you please enable this, it is imperative to working with an autocomplete textfield that value and text can be _different_ and that a value other than the selected text can be accessed.

 

const Members = [{name:'Peter', value:1},{name:'Paul', value:2},{name:'Mary', value:3}]
<kendo-autocomplete #viewBandmembers [(ngModel)]="bandmembers" name="bandmembers" [data]="Members" [filterable]="true" [valueField]="'value'"></kendo-autocomplete>

 

This will display 1,2 and 3 in the AutoComplete component!

Thanks in advance

Benjamin Müller

Dimiter Topalov
Telerik team
 answered on 30 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?