Telerik Forums
Kendo UI for Angular Forum
1 answer
444 views

Hi Team,

I'm trying to use PDF Export to print documents i.e. invoice and delivery order.
But not able to achieve as expected.

1. Added images not exporting
2. Given fonts not coming
3. I want to export exact in display size but it is not coming as I expected

 

Can you reply with proper examples.

Regards,

Srinivas M. P.

Martin Bechev
Telerik team
 answered on 14 Jun 2021
1 answer
111 views

Hi,

 

I need an action on row Click, so i have tried your sample

https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-row-click/

But it does not running on Angular12

 

Error: src/app/app.component.ts:25:31 - error TS2554: Expected 0 arguments, but got 1.

25             (add)="addHandler($event)"
                                 ~~~~~~

Regards

 

vamaw
Top achievements
Rank 1
Iron
Iron
 answered on 14 Jun 2021
1 answer
1.1K+ views

Hello,

 

I've been struggeling for sometime to figure out how to do this. I have a list of checkedKeys, and I must open the treeview with all the parent nodes for each id expanded.

 

This is my treeview element :


<kendo-treeview
            style="max-height: 400px; height: 400px"
            [nodes]="parsedData"
            textField="name"
            [children]="children"
            [hasChildren]="hasChildren"
            [(checkedKeys)]="checkedKeys"
            [kendoTreeViewCheckable]="checkableSettings"
            kendoTreeViewExpandable
            kendoTreeViewCheckable
            [animate]="false"
            [(expandedKeys)]="expandedKeys"
            [expandBy]="'id'"
            [checkBy]="'id'"
            [isChecked]="isItemChecked"
        ></kendo-treeview>

And on the ngOnInit I call this 

this.parsedData.forEach(mt => {
    this.setExpandedNodes(mt);
});

And finally this is the setExpandedNodes function:


    setExpandedNodes(node: PropertyNode) {
        if (node.children) {
            node.children.forEach(el => {
                if (el.children && el.children.length > 0) {
                    el.children.forEach(chld => {
                        if (this.checkedKeys.includes(chld.id)) {
                            this.expandedKeys.push(el.id);
                            console.log('Pushed to expanded keys', el);
                        }
                        this.setExpandedNodes(chld);
                    });
                }
            });
        }
    }

Anybody know how can I achieve this?

Thanks for the help.

Martin Bechev
Telerik team
 answered on 14 Jun 2021
8 answers
1.7K+ views

Right now I have two things up and running 1) the Kendo Angular pattern for using .saveAs(filename) to generate pdfs from html elements and 2) a way of saving File objects to a document library in SQL.I'd like to see if I can bridge the two by saving the finished pdfs directly to SQL by passing them to my upload component as File objects.

Is there a way to catch the finished pdf at the saveAs method invocation as a File or Blob object? Is the export method what I'd need instead and if so could you show me a demo of what the syntax should look like? If you can advise me on how to capture the file or file body correctly I can take it from there.

Dev
Top achievements
Rank 1
Iron
Iron
 answered on 11 Jun 2021
1 answer
1.7K+ views

Hi,

Do you have an github one or two example of Kendo Grid with server Side paging implementation ?

I search complete sample with serverSide for option [kendoGridBinding] with service, pagination and LasyLoading in Angular12  with server side RestControler pagination

 

Regards

Yanmario
Telerik team
 answered on 10 Jun 2021
0 answers
182 views
I try to load 1 million data in kendo grid and converted it to pdf , it is not working . But  when i try with small amounts of data it is working. Can I know maximum limit for data  export  to pdf and also i need a solution for transforming 1 million data into pdf .
venkatesan
Top achievements
Rank 1
 asked on 09 Jun 2021
1 answer
613 views

Hi!

Is there a way to get the index of an treeView item with the key?

Hetali
Telerik team
 answered on 08 Jun 2021
1 answer
166 views

Hello Every one

In the given example I use Kendo Grid with checkbox in the first column and also there is a SelectAll checkbox as column header. Also there is a TrackJS package installed. when tracksj is not initialized the click event of the select all checkbox emit "CHECKED" string as an event. And, heere is intersting, If TrackJS is initialized same event fires "UNCHECKED" value as an event :). Here is a example to reproduce and test my case.

https://stackblitz.com/edit/test-kendo-grid-checkbox?file=src/app/app.component.ts

The TrackJS is very usefull package wich allow to catch JS errors at production. And I have this issues . 
Does this reported in the past?

Does it possible to have a fix or support from Kendo Team?

Martin Bechev
Telerik team
 answered on 07 Jun 2021
2 answers
262 views

Hello, 

I'm using the sparline component and i need to upscale the font size of the labels.

Here a stackbliz:

https://stackblitz.com/edit/angular-cdvth5

Any suggestion?

Thanks in advance,

Benedetta

ICT
Top achievements
Rank 1
Iron
 answered on 07 Jun 2021
2 answers
2.8K+ views

We have implemented the inline edit functionalities in the Kendo Grid and we want to add some more functions such as :

we want to disable and enable some fields in inline edit based on specific conditions. How can we do that?

We are not getting any proper solution for that. So, please can you help us to implement this functionality?

Thank You.

Dimiter Topalov
Telerik team
 answered on 07 Jun 2021
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?