Telerik Forums
Kendo UI for Angular Forum
1 answer
73 views

In the documentation for the editor you have an execute function called viewSource. However the ts definitions don't list it as an option.

https://www.telerik.com/kendo-angular-ui/components/editor/api/EditorComponent/#toc-opendialog

editor.exec('viewSource');

Come to find out, obviously it makes since that its actually the openDialog method instructions and docs should read:

editor.openDialog('viewSource');

Alexander Valchev
Telerik team
 answered on 31 Dec 2019
4 answers
511 views

Hello,

 

When I run the tree view checkboxes example from your own site (https://www.telerik.com/kendo-angular-ui/components/treeview/checkboxes/),

it works properly in Chrome.

 

But in Edge there's this issue:once you only check a single children of a node, hence making its parent's state Indeterminate, clicking again on the parent doesn't update the children. While in Chrome all the children are selected, in Edge nothing happens.

From my testing, it seems like "checkedChange" event is not fired in Edge when clicking on an Indeterminate node.

 

What can be done? I use this component in our site, and we must support Edge users as well.

Dimiter Topalov
Telerik team
 answered on 30 Dec 2019
5 answers
1.7K+ views

I see the example for the Reusable Custom Filter with a DropDownList do you happen to have a similar example with a multiselect list. 

I am attempted to create a multi select reusable filter to be used in a grid menu filter.

https://www.telerik.com/kendo-angular-ui/components/grid/filtering/reusable-filter/

Ivan
Telerik team
 answered on 23 Dec 2019
7 answers
2.6K+ views

I have a kendo-grid with 3 columns editable out of the list of 25 columns displayed.

The grid has a cellClick event which sends in the column and columnIndex:

(cellClick)="editClick($event)"

public editClick({ sender, column, rowIndex, columnIndex, dataItem }): void {

    this.editHandler({
                dataItem: dataItem,
                rowIndex: rowIndex,
                sender: sender,
                isNew: false
            });

}
public editHandler({ sender, rowIndex, dataItem }: EditEvent): void {
        if (this.formGroup && !this.formGroup.valid) {
            return;
        }

this.formGroup = formGroup(dataItem);
        this.editedRowIndex = rowIndex;

        console.log('editrowindex =' + rowIndex);
        console.log('edited CDM_Service_Code =' + dataItem.CDM_Service_Code);

        sender.editRow(rowIndex, this.formGroup);

When I call sender.editRow

Svet
Telerik team
 answered on 19 Dec 2019
2 answers
145 views
The default state of the multi-view calendar is to pop up with the current month and next month shown by default. For our needs, it would be better to show the previous month and current month by default. Is there a way to accomplish this?
Brian Vallelunga
Top achievements
Rank 1
 answered on 19 Dec 2019
1 answer
520 views

The following code is is not displaying the item template correctly with check boxes.   If I don't use the item template it displays the data correctly.

 

<kendo-multiselect style="width: 250px;" [data]="userOrganizations" [textField]="'name'"
                   [valueField]="'partner_oid'" placeholder="State/Municipality" [(ngModel)]="selectedOrganization" [autoClose]="false"
                   [popupSettings]="{ width: 250, height: 350}">
  <ng-template kendoMultiSelectItemTemplate let-dataItem>
    <input type="checkbox" class="k-checkbox"
           [checked]="isItemSelected(dataItem.name)">
    <label class="k-checkbox-label">Name{{ dataItem.name }}</label>
  </ng-template>
</kendo-multiselect>
Martin Bechev
Telerik team
 answered on 18 Dec 2019
2 answers
2.1K+ views
I have a grid with n number of columns with horizontal scrolling and would like to navigate to particular column using column name/focus to a first cell of the column once grid is rendered, so how to navigate to particular column/set focus to cell in kendo non editable  grid? Thanks.
Gangadhar
Top achievements
Rank 1
 answered on 17 Dec 2019
1 answer
2.3K+ views

     Hello,

I need to set placeholder in multiselect with kendoMultiSelectSummaryTag. its not working .

Please check this stackblitz demo and update it with new code.

https://stackblitz.com/edit/angular-hhk2wg?file=app/app.component.ts

Martin Bechev
Telerik team
 answered on 13 Dec 2019
1 answer
541 views

     Hi

I am using combobox . I need to  height of kendoDropDownListNoDataTemplate . How can I do It ?

 

Please update the code in stack blitz

https://stackblitz.com/edit/angular-lgj9v5?file=app/app.component.ts

 

Thanks 

Nilesh Zala

 

 

 

Martin Bechev
Telerik team
 answered on 13 Dec 2019
1 answer
1.7K+ views

I have a enum type field -(eg: CustomerState). And I have binded to kendo grid to dispay the text value of the enum as below,

<kendo-grid-column field="customerState" title="{{'LABELS.customerState' | translate}}" width="100">
        <!-- <ng-template kendoGridCellTemplate let-dataItem>
            {{ dataItem.customerState | enumTranslate: customerState | async }}
        </ng-template> -->

         <ng-template kendoGridCellTemplate let-element>
          {{CustomerState[element.customerState]}}
        </ng-template>

      </kendo-grid-column>

I have set filterable="menu" in the grid. So I see a default filtering option in the UI page with Contains search as default. 

Problem is when I search the text value of the field(eg: Inactive state), I get no results. but when I search as 0 or 1 or 2, I get the filtered result.

So is there any easier alternative to filter based on a particular enum value from all list of records in the grid?

 

 

Dimiter Topalov
Telerik team
 answered on 12 Dec 2019
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?