Kendo UI Grid - How to save current radio button state
By : duan847
Date : March 29 2020, 07:55 AM
|
What is the structure of the data returned when grouping on the server in a Telerik Kendo Grid
By : Joel Bühler
Date : March 29 2020, 07:55 AM
this will help I Found some more information here http://docs.telerik.com/KENDO-UI/api/javascript/data/datasource#configuration-schema.groups code :
{
"total": 2,
"groups": {
"field": "Building",
"value": "Smith Tower",
"aggregates": [],
"items": [
{
"RealAssetId": 1,
"Building": "Smith Tower",
"Level": "Level",
"Zone": "Zone",
"Room": "Room",
"AssetId": "Asset Id",
"AssetCategory": "Asset Gategory",
"AssetFamily": "Asset Family",
"AssetType": "Asset Type"
},
{
"RealAssetId": 2,
"Building": "Smith Tower",
"Level": "Level3",
"Zone": "Zone3",
"Room": "Room3",
"AssetId": "Asset Id3",
"AssetCategory": "Asset Gategory3",
"AssetFamily": "Asset Family3",
"AssetType": "Asset Type3"
}
]
}
}
schema: {
groups: "groups",
total: "total",
model: {
fields: {
Building: { editable: false },
Level: { editable: false },
Zone: { editable: false },
Room: { editable: false },
AssetId: { editable: false },
AssetCategory: { editable: false },
AssetFamily: { editable: false },
AssetType: { editable: false } }
}
}
|
Kendo grid retrieves old data when grouping
By : WangQiang1983
Date : March 29 2020, 07:55 AM
wish of those help The resolution is clearing data from the grid itself and not the data source. Calling the destroy method cleaned out all JQuery data attributes and I was able to repopulate the grid with the odd behavior. code :
var grid = $('#report').data('kendoGrid');
if (grid) {
grid.destroy();
}
|
Kendo for angular grid with grouping manipulate data within group
By : user1570527
Date : March 29 2020, 07:55 AM
Hope this helps In the Grid Header Template we have access to the group property that in turns contains all data items for the respective group under its items property. You can pass them to the custom button click handler and proceed accordingly: code :
<kendo-grid-column field="Category.CategoryName" title="Category">
<ng-template kendoGridGroupHeaderTemplate let-group let-field="field" let-value="value">
<strong>{{field}}</strong>: {{value}} <button class="k-button" (click)="onClick(group)">CLICK</button>
</ng-template>
</kendo-grid-column>
|
Telerik Kendo UI grid: grouping and sorting survive grid.refresh() but collapsed groups get expanded; how to preserve st
By : iwos2610
Date : March 29 2020, 07:55 AM
this will help It is understandable that this isn't a built-in feature. It is pretty complicated because if you have nested groupings, you would have to remember each collapsed group in the hierarchy that it existed in. Since items will be moving in and out of the DataSource, this would be a pain to track.
|