Telerik Forums
Kendo UI for Angular Forum
7 answers
2.6K+ views

I am using the treeview with kendoTreeViewFlatDataBinding and kendoTreeViewCheckable='multiple':

<kendo-treeview [nodes]="mytreeviewdata"
                                                textField="desc"
                                                [(checkedKeys)]="checkedKeys"
                                                kendoTreeViewExpandable
                                                [kendoTreeViewCheckable]="multiple"
                                                kendoTreeViewFlatDataBinding
                                                idField="id"
                                                parentIdField="parent_id"
                                                [checkBy]="key"
                                                [isChecked]="isChecked"
                                                [children]="fetchChildren"
                                                (checkedChange)="handleChecking($event)">
 </kendo-treeview>

In the checkedChange event, the argument is theTreeItemLookup which can specify the current item with the checkbox incurring a change.  Is there a property that tells whether the checkbox was selected or deselected?

I am currently adding code to determine whether the change was a 'checked' or 'unchecked', but it seems there must be a simpler way for the treeviewnode to return me that value.

Thanks for any advice.

Martin Bechev
Telerik team
 answered on 18 Dec 2020
1 answer
170 views
going from 3.24.0 to 3.25.0 in the material theme causes the scrollview images to be visible off to the sides of the viewer.  You can see this in your demo site.
Svet
Telerik team
 answered on 18 Dec 2020
0 answers
394 views

Hi

Is this the only option to select only years from the datepicker?

<kendo-datepicker
                    [formControlName]="'year'"
                    [format]="'yyyy'"
                    [incompleteDateValidation]="true"
                    [bottomView]="'year'"
                    [weekNumber]="false>

</kendo-datepicker>

I was looking for something that only contains years and not also months.

Something like the attached image.

Dimitris
Top achievements
Rank 1
Veteran
 asked on 16 Dec 2020
1 answer
162 views

The styling for the "Add new" button and any buttons in the kendoGridToolbarTemplate seem to have changed.

There used to be padding around the buttons and the background colour used to match the grid.

It seems to have been changed after the latest Chrome update to 87.0.4280.88.

Will there be any updates to the grid to fix this issue?

 

Martin Bechev
Telerik team
 answered on 16 Dec 2020
2 answers
2.9K+ views

Hello,

 

Is there any timeline around supporting Bootstrap 5?  The first Beta version was just released last week, which marks the end of breaking changes before the first full release.  My team is currently using Bootstrap 5 and attempting to use kendo-theme-bootstrap, but am receiving SCSS build errors.  I assume this is because of the incompatibility with Bootstrap 5.

 

Thanks,

AJ

Ivan Zhekov
Telerik team
 answered on 15 Dec 2020
0 answers
102 views

Hi,

Is there a way to hide unrelated parent items when expand ?

 

Jijo
Top achievements
Rank 1
 asked on 15 Dec 2020
1 answer
2.7K+ views

I have a kendo grid which is filterable.  I need sorting enabled as well.  Achieved it by using "[sortable]="true"" (I do not need multi-column sort). 

Now I am trying to implement sorting with nulls last i.e. for both the sort orders (asc & desc), I need the nulls to appear last.  

All the materials I found so far explains custom sort using "(sortChange)="sortChange($event)". For this we need the data to be bound using [data].  But using [data] is not an option for me as I need the filtering option enabled as well. (As per this link, for the filters to work, [kendoGridBinding] needs to be used - [data]  cannot be used)

Please assist me to implement custom sorting. 

<kendo-grid [filterable]="true" 
                        [sortable]="true" 
                        [pageable]="true" 
                        [kendoGridBinding]="dataSource"
                        (dataStateChange)="onDataStateChange($event)" 
                        (cellClick)="onCellClick($event)">

Svet
Telerik team
 answered on 15 Dec 2020
1 answer
253 views

We can set the 'selected' and 'expanded' property of a panelbaritem,

 

but when we set the focused  property, the UI doesn't update. Only when we tap with the mouse does the focused state change.

 

How can we do this in code?

            item.selected = true;
            item.focused = true;

Svet
Telerik team
 answered on 15 Dec 2020
1 answer
192 views

I have a PanelBar with children. How can I make the children index an extra 3em so that the children are moved to the right and appear under the parent, offset by a bit.

 

Right now the children are directly below their parent.

 

        <kendo-panelbar-item title="Orders">
          <kendo-panelbar-item title="Upload Orders"></kendo-panelbar-item>
          <kendo-panelbar-item title="Batch Summary"></kendo-panelbar-item>
        </kendo-panelbar-item>

Martin Bechev
Telerik team
 answered on 15 Dec 2020
6 answers
788 views

Hi,

I don't need the items "Quotation", "Heading 5" and "Heading 6" in the "Format" dropdown list in the Editor's toolbar. How could I achieve that?

Martin Bechev
Telerik team
 answered on 15 Dec 2020
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?