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

How do I imperatively set the default selected value of a kendo angular combobox?

 

alex51482
Top achievements
Rank 2
 answered on 13 Sep 2018
2 answers
167 views

Hi,

I am exporting grid to pdf but it is not exporting complete data some time. bottom rows are missing.
    

 

<kendo-grid-pdf fileName="washer.pdf" [allPages]="true" [repeatHeaders]="true" [landscape]="true" [scale]="0.8">
<kendo-grid-pdf-margin top="2cm" left="1cm" right="1cm" bottom="2cm"></kendo-grid-pdf-margin>
<ng-template kendoGridPDFTemplate let-pageNum="pageNum" let-totalPages="totalPages">
<div class="page-template">
<div class="header">
<div style="float: right">Page {{ pageNum }} of {{ totalPages }}</div>
Multi-page grid with automatic page breaking
</div>
<div class="footer">
Page {{ pageNum }} of {{ totalPages }}
</div>
</div>
</ng-template>
</kendo-grid-pdf>


and 
public exportToPDF(grid: GridComponent): void {
        grid.saveAsPDF();
    }

How I can make sure the grid is exporting completely.

Chaitra
Top achievements
Rank 1
 answered on 12 Sep 2018
1 answer
112 views

Hi guys,

When I upgraded the DropdownListModule from 2.x to the latest stable version I encountered a very strange behavior. In the 2.x version the DropDownListComponent's reset() method actually reseted both the value and the textfield but in the latest version this method only resets the valuefield only not the textField. Is this normal behavior or is it a bug?

 

Example code: https://stackblitz.com/edit/angular-f7dpzf-wzj24n

 

Thank You Very Much for your time in advance!

Dimiter Topalov
Telerik team
 answered on 10 Sep 2018
1 answer
206 views

I have an implementation which requires that the scale range for Kendo Radial Gauge which means the values of [from] and [to]  of  <kendo-radialgauge-scale-range> tag continuously changes as a continuous stream of inputs is supplied to the gauge.

https://www.telerik.com/kendo-angular-ui/components/gauges/radialgauge/scale-ranges/

However when the values of  [from] or [to] changes I have noticed the pointer in the gauge drops to zero first and then returns back to the current value. I want to be able to change the values of [from] and [to] of the scale range without the pointer dropping to zero. Is there a way to achieve this?

Daniel
Telerik team
 answered on 10 Sep 2018
5 answers
230 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.2K+ 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
112 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
110 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
671 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
607 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?