Telerik Forums
Kendo UI for Angular Forum
1 answer
468 views

Hi,

I'm using Kendo Grid Angular implementation. Can we customize the behavior of the column menu filter? I need to stop table filtering but retain all the other functionality(retain filter functionality in the UI). This is mainly because I'm handling the filter implementation in the back end.

Thanks & Regards.

Martin Bechev
Telerik team
 answered on 16 Jun 2021
1 answer
1.9K+ views

Hi,

 

I tried to running your sample https://www.telerik.com/kendo-angular-ui/components/grid/filtering/ with Angular12 but i have following error message

Error: src/app/app.component.ts:18:10 - error TS2322: Type 'number | undefined' is not assignable to type 'number'.
  Type 'undefined' is not assignable to type 'number'.

18         [pageSize]="state.take"
            ~~~~~~~~


Error: src/app/app.component.ts:19:10 - error TS2322: Type 'number | undefined' is not assignable to type 'number'.
  Type 'undefined' is not assignable to type 'number'.

19         [skip]="state.skip"
            ~~~~


Error: src/app/app.component.ts:20:10 - error TS2322: Type 'SortDescriptor[] | undefined' is not assignable to type 'SortDescriptor[]'.
  Type 'undefined' is not assignable to type 'SortDescriptor[]'.

20         [sort]="state.sort"

 

Regards

Yanmario
Telerik team
 answered on 15 Jun 2021
1 answer
1.1K+ views
From 11/06/2021 to 11/06/2020.. Only select the year and don't want to chosse the month and date. It should remain same. 
Martin Bechev
Telerik team
 answered on 15 Jun 2021
1 answer
285 views

I have a very straight forward kendo-editor code like the one below

<div #containerRef> <kendo-editor style="height:500px"> <kendo-toolbar> <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist> </kendo-toolbar> </kendo-editor> </div>

 

But my problem is that the dropdown is not showing inside the control but instead it's appending in the root component. I tried adding [PopupSettings]="{appendTo: containerRef}" in <kendo-toolbar> but still not working.

this is my code in .ts

 

@ViewChild('containerRef', { read: ViewContainerRef, static:true }) public containerRef: ViewContainerRef;

 

I confirmed in chrome developer tools that the popup is appending in the root component,

that's why i use popupsettings but still it's not working.

Anyone experience the same issue?

Martin Bechev
Telerik team
 answered on 15 Jun 2021
1 answer
976 views


since the icon is at bottom of the page, even if i click on it,
the anchor is still in top.

how to fix this 
how to shift this anchor position automatically
Preslava
Telerik team
 answered on 15 Jun 2021
1 answer
393 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
96 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.0K+ 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.5K+ 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.6K+ 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?