Hello,
I used Kendo Grid with the search toolbar on data from a service call. My data is displayed correctly and my select function works fine.
But when I try to search in toolbar, the results will not be filtered. Is this a problem with my service call?
var settingsSelectable = "multiple, row"; var settingsColSelectable = [ { selectable: true, width: 75, attributes: { "class": "checkbox-align", }, headerAttributes: { "class": "checkbox-align", } }, { title: "Product Information", template: "<div>#: Name #</div><div>Id: #: Id # | ArtNo: #: ArtNo #</div>", attributes: { "class": "select-#: Id #", } } ]; var grid = $(".all-products").kendoGrid({ dataSource: new kendo.data.DataSource({ transport: { read: function (options) { LoyaltyCategoryService.GetProducts().then((res) => { options.success(res.data.Data); preselect(); }) } } }), toolbar: ["search"], columns: settingsColSelectable, height: 800, selectable: settingsSelectable, change: onChange, dataBound: function () { preselect(); } });
Maybe someone can help me! Have a great day!

How to add rows numbers when virtual scrolling is enabled?
using this method: http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Templates/add-row-numbers doesn't work well.


Hi folks,
I encountered the following issue: I created a new notification object and it is shown correctly. However, the close icon is missing. The strange thing is the error icon is displayed correctly. I also had a look at the resulting HTML code and this looks fine.
I also checked the WebComponents and KendoUIGylphs font files. I provide these. If I remove them the error icon disappears.
I also had a look inside these files and the keywords "close" and "error" are available.
Do you have any idea what the reason might be?
We use KendoUI 2020.2.617.
BR
After changing the tsconfig.json file to 'target: ES6' our code successfully compiles and runs without errors in the browser.
However, the chart control and the grid control does not display the data from the datasource anymore.
We had a look at the HTML code and the rows for the grid control are created but the data is missing. During debugging we ensured that the read function of our data source delivers the data.
The controls are displayed with the given config. Additionally the specified column names are also not displayed. These also use kendo templates for inserting data.
BR

try { if (list != null && list.Count > 0) { var serializer = new JavaScriptSerializer(); var hourList = list.GroupBy(x => x.LogDate.Hour).Select(x =>x.First()).Select(x => x.LogDate.Hour); foreach (var hour in hourList) { result.AddRange(list.Where(y => y.LogDate.Hour == hour).Select(y => { var jsonObj = serializer.Deserialize<Dictionary<string, object>>(y.DashboardChartData); var jsonDoc = new Dictionary<string, object>(); jsonDoc.Add(y.DashboardChartName, jsonObj.ContainsKey("Usage") ? jsonObj["Usage"] : string.Empty); jsonDoc.Add("LogDateTime", y.LogDate); jsonDoc.Add("Type", y.DashboardChartType); var json = JsonConvert.SerializeObject(jsonDoc); return json; })); } } }
Html.Kendo().Chart() .Name("datastoreUsageChart" + i) .Title("DataStoreChart") .Legend(legend => legend .Visible(false) ) .ChartArea(chartArea => chartArea .Background("transparent") .Height(300) ) .HtmlAttributes(new { style = "height:100%; margin-bottom:0px; width:30%; display:inline-block; vertical-align: top; padding-right: 2%;", @class = "chart-small-screen" }) .DataSource(ds => ds.Read(read => read.Action("GetDatastoreChartTotalData", "DashBoard", new { vCenterId = vCenter.vCenterID }))) .Series(series => { foreach (var datastore in tempList) { series.Line(datastore).ColorHandler("getColor").CategoryField("LogDateTime").Aggregate(ChartSeriesAggregate.Max); } } ) .CategoryAxis(axis => axis .Date() .BaseUnit(ChartAxisBaseUnit.Hours) .Min(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 0, 0, 0)) .Max(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59)) .MajorGridLines(lines => lines.Visible(false)) ) .ValueAxis(axis => axis .Numeric() .Labels(labels => labels.Format("{0}")) ) .Events(e=>e.DataBound("onDataBoundChart")) .Tooltip(tooltip => tooltip .Visible(true) .Format("{0}-Session") ).ToHtmlString()Json Data comes like this
but it doesn't work
example : https://dojo.telerik.com/ESANeZIt
after you open filter column menu on field1 column the list of checkboxes never changes if you fetch new data.
after investigating, i found that itemchange event datasource['_change']({ action: 'itemchange', items: [] }) refreshes grid filters, but this action breaks listviews bound to datasource.
really is difficult to have custom code for every grid in my application and every datasource.data().
can i expect correct behavior ?
Check the pagination at footer it displays this range 1 - 25 of 141 items.
Now, start scrolling the screen to down and when you reach at this range 51 - 75 of 141 items.
Slightly scroll to up, This 1 - 25 of 141 items. range will be displayed.
It should display this range 26 - 50 of 141 items
When Virtualization is true It is not display correct labels in footer while scrolling down to up
pageable: {
numeric: false,
previousNext: false,
info:true
}
