Hi,
I need to change the default icon for the Kendo Grid when the filter is selected. Currently it displays the below icon by default. I have attached the screenshot of the current grid which we are using.
.k-i-more-vertical
Unicode: e031
So when the user adds a filter I need it to change to the below
k-i-filter-sm
Unicode: e12b
I need to do this in either my css file or any common javascript file. Please advise. Below is the current configuration which I am using.
Version: 2019.2.619.545 (Kendo Web Extensions for ASP.NET MVC)
MVC version: 5.0
IDE: Visual Studio 2015
Browser : Chrome 76.0.3809.100, IE 11.0
.Net Framework: 4.6.2
Programming Language: C#

@model long?@(Html.Kendo().ComboBoxFor(m => m) .DataTextField("DisplayName") .DataValueField("PersonId") .Filter(FilterType.Contains) .DataSource( source => source.Read(read => read.Action("Search", "PersonController") .Data("getData")).ServerFiltering(true)))var combo = $(selector).data('kendoComboBox'); if (combo._initial != '' && !combo.hasLoadedInitial) { combo.hasLoadedInitial = true; return { id: combo._initial }; } else return { text: combo.input.val() };In the Linear gauge you can add a pointer value (little red arrow in the example) that goes on the scale. Is this possible with the Radial gauge as well? So I could make a low, avg, and high point on radial gauge instead of using the linear gauge?
I have a grid with a Client Group Header Template like this:
columns.Bound(model => model.Area).ClientGroupHeaderTemplate(@"<input onclick='SelectAllSubStores(this)' type='checkbox' style='margin-right:5px;'/>");
I have been trying to get it so when I check the group header check box it will automatically check all the rows within the header.
In the sub rows there is a column like this so that there are check boxes in the sub rows:
columns.Bound(model => model.Store)
.ClientTemplate("<input type='checkbox'/>")
.Sortable(false).Width(100)
.HtmlAttributes(new { style = "text-align:center" })
.HeaderHtmlAttributes(new { style = "text-align:center" });
I have tried this but nothing happens:
function SelectAllSubStores(e) {
$("#Grid tbody input:checkbox").prop("checked", this.checked);
}
and I have tried a few other ways but I wasn't getting anywhere.
How do I get it to auto select the sub row check boxes when I select the Group header template check box?
Thanks
I am attempting to have an ajax grid that does server side paging. (For reference, I am using Entity Framework for db context, and Automapper for model to view model mapping). The paging is working clientside, but it just pulls in all the data from my db then pages. I cannot seem to get the paging to reflect at the sql query level without doing it manually (which defeats the purpose of passing the request to the DataSourceResult(). Am i missing something, or must i do this manually?
Below is my current code:
Razor page
01.@(Html.Kendo()02. .Grid<AgencyContactViewModel>()03. .Name("Grid")04. .DataSource(dataSource => dataSource05. .Ajax()06. .Read(read => read.Action("Read", "AgencyContact"))07. .PageSize(5)08. .ServerOperation(true)09. )10. 11. .Columns(columns =>12. {13. columns.Bound(o => o.ID).Width(50).Title("Id");14. columns.Bound(o => o.LastName).Width(100).Title("Last Name");15. columns.Bound(o => o.FirstName).Width(100).Title("First Name");16. columns.Bound(o => o.AgencyDescription).Width(175).Title("Agency");17. columns.Bound(o => o.IsActiveFlag)18. .ClientTemplate("<input type='checkbox' #= IsActiveFlag ? checked = 'checked' : '' # disabled='disabled' ></input>")19. .Width(15).Title("Active");20. 21. columns.Bound(o => o.AgencyCode)22. .ClientTemplate("<a href='" + Url.Action("Edit", "AgencyContact") + "/#=AgencyCode#'>Edit<a/>")23. .Title("")24. .Width(15);25. columns.Bound(o => o.AgencyCode)26. .ClientTemplate("<a href='" + Url.Action("Details", "AgencyContact") + "/#=AgencyCode#'>Details<a/>")27. .Title("")28. .Width(15);29. })30. .Groupable()31. .Sortable()32. .Pageable()33. .Filterable())1.public JsonResult Read([DataSourceRequest] DataSourceRequest request)2.{3. var agencyContacts = dbContext.AgencyContacts.Include("Agency") .OrderBy(a => a.AgencyCode);4. var agencyContactsViewModel = agencyContacts.ProjectTo<AgencyContactViewModel>();5. var result = agencyContactsViewModel.ToDataSourceResult(request);6. return Json(result, JsonRequestBehavior.AllowGet);7.}We have had a spreadsheet popup working for a "quick edit" solution for a few years. I just upgraded to 2020.2.617 and the spreadsheet is no longer calculating correctly. If I turn the formula row on the top, it looks like the formulas are not there. What changed between 2017 SP1 and this release? What do I need to do differently?
Here is an example of the spreadsheet (cshtml)":
@(Html.Kendo().Spreadsheet() .Name("spreadsheet") .HtmlAttributes(new { style = "width:98%; height: 90%;" }).HeaderHeight(0).HeaderWidth(0) .Toolbar(false) .Sheetsbar(false) .Excel(excel => excel .ProxyURL(Url.Action("Index_Save", "Spreadsheet")) ) .Pdf(pdf => pdf .ProxyURL(Url.Action("Index_Save", "Spreadsheet")) ) .Events(events => events .Render("onRenderExpenses")) .Sheets(sheets => { sheets.Add() .Name("Transactions") .Columns(columns => { if (Model.SpreadSheetColumns != null) { foreach (SpreadSheetColumnSettings col in Model.SpreadSheetColumns) { columns.Add().Width(col.Width); } } }) .Rows(rows => { rows.Add().Index(0).Height(60).Cells(cells => { if (Model.SpreadSheetColumns != null) { foreach (SpreadSheetColumnSettings col in Model.SpreadSheetColumns) { cells.Add().Bold(true).TextAlign(SpreadsheetTextAlign.Center) .Value(col.Title).Background("#80cce7").Color("#000000").Wrap(true) .Enable(false); } } }); rows.Add().Index(99).Height(40).Cells(cells => { foreach (SpreadSheetColumnSettings col in Model.SpreadSheetColumns) { cells.Add().Bold(true).TextAlign(SpreadsheetTextAlign.Right) .Background("rgb(193,226,255)").Color("#000000") .Enable(false).Format(col.Format).Formula(col.Formula); } }); }); }))And here is an example of the columns:
columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false, Formula = "IF(ROUND(SUM(H" + rowTotal + ":I" + rowTotal + "),2) - ROUND(SUM(K" + rowTotal + ":BG" + rowTotal + "),2) = 0,0,1)" }); columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 100, Editable = false, Format = "$#,##0.00", Formula = "SUM(H2:H" + maxRows + ")" }); columnList.Add(new SpreadSheetColumnSettings() { Width = 100, Editable = false, Format = "$#,##0.00", Formula = "SUM(I2:I" + maxRows + ")" }); //columns columnList.Add(new SpreadSheetColumnSettings() { Width = 30, Editable = false }); columnList.Add(new SpreadSheetColumnSettings() { Width = 100, Editable = false, Format = "$#,##0.00", Formula = "SUM(K2:K" + maxRows + ")" });
Here's my JQuery mask for textbox in $(document).ready():
$("#MyTextbox").inputmask({ "mask": "(99:99:9{6,7}:9{1,},{0,1}){1,}", 'autoUnmask': false, clearIncomplete: false });
Model contains values as a list so i wrote the element like this:
@(Html.Kendo().TextBox() .Value(string.Join(",", Model.Objects.Select(x=>x.SomeValue).ToList())) .Name("MyTextbox") .HtmlAttributes(...))
and instead of
99:99:9999999:999,66:66:6666666:666,33:33:3333333:333
value shows up like
99:99:9999999:9996666666666666633333333333333
What can i change to keep the mask for the whole string?

Hey Guys
I want to render 1 column ( 1 that shows a file with the complete path) with the filename always showing and the rest of the path hidden to the left when the column is not wide enough.
Adding the htmlAttribute to set the direction works.. except that the '\\' at the start of the path seems to get moved to the end of the path
c.Bound(Function(p) p.filename).Title("Filename").HtmlAttributes(New With {.style = "direction: rtl;"})c.Bound(Function(p) p.info).Title("Info").Width(10)c.Bound(Function(p) p.filename).Title("Filename")
To demonstrate, I have added the Filename column twice. First one using 'rtl' , the 2nd regular not to show what I am talking about. This is shown in the attached screen shot.
I also tried implementing this as a Client Template and I get the same issue.
Any suggestions greatly appreciated.
Rob
