The Tree View component is incredibly frustrating to work with.
How do I establish an indeterminate check box?
Here is my TreeView and below is my isChecked method.
I have attached a snagit capture of the problem I'm having.
<kendo-treeview #actionPermissions [nodes]="treeNodes" kendoTreeViewCheckable [hasChildren]="hasChildren" textField="displayName" childrenField="children" [(checkedKeys)]="checkedKeys" [isChecked]="isChecked" kendoTreeViewHierarchyBinding kendoTreeViewExpandable [(expandedKeys)]="expandedKeys" (checkedChange)="handleChecking($event)">public isChecked = (dataItem: NcActionDto): CheckedState => { let checkedNode = _.find(this.checkedKeys, m => m === dataItem.id); if (checkedNode) { if (dataItem.children.length > 0) { dataItem.children.forEach((item) => { if (!_.find(this.checkedKeys, m => m === item.id)) { return 'indeterminate'; } }); } else { return 'checked'; } } else { return 'none'; }}
I have to say I am a member of many forums and this is without doubt the worst of all for posting information. It's ancient and every difficult to work with.
I used the dropdownlist component outside of <kendo-grid> and by adding the [popupSettings]="{appendTo: 'component'}", I got the selection list displayed right under the dropdown control.
I tried to do the same thing for a dropdownlist of a column inside <kendo-grid>, and the popup did not display right under the dropdown, but over it (see attached image, I selected the dropdown for the 'Hospital C' row).
The HTML for that column is:
<kendo-grid-column field="FileId" title="File Lists" [width]="140">
<ng-template kendoGridCellTemplate
let-dataItem="dataItem"
let-formGroup="formGroup">
<kendo-dropdownlist [data]="fileLists"
#ddl_filelists
[textField]="'description'"
[valueField]="'key'"
[valuePrimitive]="true"
[popupSettings]="{appendTo: 'root'}"
[(ngModel)]="dataItem.FileId">
</kendo-dropdownlist>
</ng-template>
</kendo-grid-column>
Thanks for any suggestion.


Hey,
I have implemented datetimepicker in my project. So I want to disable past times in datetimepicker and I have tried [min] but I dont want that way.
I want a way where previous time shoudl be disabled but should not be disappered.
So please guide if any other way possible.


hi,
We have downloaded a basic virtual scroll grid from kendo’s official website (https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual/) to make sure custom code is not causing it. Additional columns (25+) +) were added to it and applied coloring to alternate rows with different colors using the rowClass method that is mentioned in the documentation.
Issue was present in the kendo grid for this scenario.
Please suggest if this is expected behavior or we are missing some configuration here.
PFA the code used for this.
Regards,
Jaspreet

Hi,
I saw number of working examples where floatingLabel is working well. In my case also it is working very well.
If my textbox is empty and I'm trying to enter any data it is working fine without any issue. Following is my code
<kendo-textbox-container floatingLabel="Warehouse"> <kendo-textbox type="text" formControlName="warehouse" placeholder="Enter Warehouse" name="warehouse" [showSuccessIcon]="'initial'" [showErrorIcon]="'initial'" required maxlength="100"></kendo-textbox></kendo-textbox-container>
Same is not working when I use the same code for edit mode means I fetched the data from API and tries to edit the record at that time my data is present is the form but in that case my textbox value overlapping with floatingLabel.
I attached the screenshot of it for the reference.
Once again I want to say, I tried all the available and suggested option like placehoder="''", binding with kendo-lable, binding with [for] and so many others.
Hi Team,
We have a requirement to develop a kendo-grid in which few columns will be fix (static) and the rest of the columns will be rendered based on the response of an API call.
It would be great if you could provide me any suggestion/hints to proceed.
We have implemented a complete dynamic editable kendo grid.
Thanks.

Hi,
Generally add Dropdownlist in grid for inline editing.
Can I add ComboBox instead of Dropdownlist.
Actual reason of requirement of ComboBox in inline editing is as following:
1. I can filter the list as I type which is not possible with Dropdownlist
2. I can fetch the data and render the list items as user type.
Exmple:
HTML
<!-- Select Drop Down List - Manufacturer --><kendo-textbox-container style="text-align: left;"> <kendo-label text="Manufacturer"> <kendo-combobox formControlName="manufacturerId" [data]="ddlManufacturerId | async" [textField]="'name'" [valueField]="'id'" [valuePrimitive]="true" [filterable]="true" (filterChange)="onSearchManufacturerId($event)" required> </kendo-combobox> </kendo-label></kendo-textbox-container><!-- Select Drop Down List - Manufacturer -->
Typescript:
onSearchManufacturerId (value) { const pSearch: ACSelectModel = { SearchText: value, SearchColumn: 'Manufacturer', TableName: 'vwTXManufacturerList', DisplayColumns: 'Manufacturer', IndexColumn: 'MTXManufacturerId', WhereClause: 'CompanyId=' + this.auth.getLoggedInCompanyId(), OrderByClause: 'name', IsNoneRecordRequired: true }; this.ddlManufacturerId = this.mySelect.acSelect(pSearch).pipe( map((results: SelectModel[]) => { return results; }) ); }
Definitely "kendo-textbox-container" and "kendo-label" I'm not going to use in grid but just running sample code I attached here for reference.
I hope my requirement is clear.
