Hello,
I have selectedValue (complex object with 12-16array to which i form grid in template and other 30-35 values bound to numeric textbox) . Initially, the bind selectedValue ovject to template. When i set the object, ui gets generated, when i update the selectedValue , the whole UI gets repainted in View. It renders slow , is it made to redraw UI components again or only values in components should get updated only (no redraw) ?
We recently upgraded from release 2017.2.621.440 to release 2019.1.115.
Previously, the following code:
<button id='texCov_setEmpty' class='tcov-button'>1. Set All Adjustments to <span> No </span> Adjustment</button><br /><button id='texCov_setPreferred' class='tcov-button'>2. Set All Adjustments to <span> Preferred </span> Adjustment</button><br /><button id='texCov_setLowest' class='tcov-button'>3. Set All Adjustments to <span> Lowest Overlap </span></button>.tcov-button > span { font-weight: bold;}
would display properly, but with the upgrade to the new release the leading/trailing spaces in the span are removed/ignored (see attached file).
Not a big deal - I fixed it by modifying the CSS:
.tcov-button > span { font-weight: bold; margin-left: 3px; margin-right: 3px;}
I was just wondering if I was doing something, or if an unintended change had occurred at some point?
Thanks, Gregg
@(Html.Kendo().Grid(Model) .Name("Grid") .Columns(columns => { columns.AutoGenerate(true); columns.Command(command => { command.Edit(); command.Destroy(); }); }) .ToolBar(toolbar => toolbar.Create()) .Editable(editable => editable.Mode(GridEditMode.PopUp)) .DataSource(dataSource => dataSource .Server() .Model(model => model.Id(p => p.ContactNumber)) .Read(read => read.Action("Index", "ContactRep")) .Update(update => update.Action("Edit", "ContactRep")) .Create(update => update.Action("Create", "ContactRep")) .Destroy(update => update.Action("Delete", "ContactRep"))) .Pageable() .Sortable() .Filterable() .Groupable())
Greetings,
In the current version (2019 Q1) the expand Icon of the treeview node is being reset, if another node is dropped above it. To reproduce this behaviour you can take the Drag and Drop demo of the treeview. In the inital state the "Furniture" node is expanded. If you take the "Decor" node and drop it above the furniture node, the "Furniture" node stays expanded but the icon changes to collapsed.
In the example below there is an array of values displayed using an ng-repeat directive. They are all bound to drop down lists with a common data source. The valuePrimitive setting is false so a proper POJO is set to and bound to k-ng-model. However, when the drop downs are rendered the selected value is not displayed. The selected value is present as evidenced by the Selection output.
How can the value be displayed when it is not a primitive and it is pre-loaded (e.g. not selected by the user)?
https://dojo.telerik.com/EjEDoQAG
Hello
Is there a way to add/remove/edit TreeList columns dynamically? We need to allow the user to manipulate the columns and the data in them.
Thanks
Hi,
I created a select list in my controller and then returned it as Json for the dropdown
Controller:
/// <summary> /// Prepare available cargo types /// </summary> /// <param name="items">Cargo Type items</param> /// <param name="withSpecialDefaultItem">Whether to insert the first special item for the default value</param> /// <param name="defaultItemText">Default item text; pass null to use default value of the default item text</param> public virtual IList<SelectListItem> PrepareAvailableCargoTypes(IList<SelectListItem> items, bool withSpecialDefaultItem = true, string defaultItemText = null) { if (items == null) throw new ArgumentNullException(nameof(items)); var selectListItems = new List<SelectListItem>() { new SelectListItem() { Value = "1", Text = "Dry Bulk" }, new SelectListItem() { Value = "2", Text = "Breakbulk" }, new SelectListItem() { Value = "3", Text = "Project" }, new SelectListItem() { Value = "4", Text = "FCL Container" }, new SelectListItem() { Value = "5", Text = "LCL Container" }, new SelectListItem() { Value = "6", Text = "Liquid Bulk" }, new SelectListItem() { Value = "7", Text = "RoRo" }, new SelectListItem() { Value = "8", Text = "Other" } }; items = selectListItems; return items; }public JsonResult GetAvailableCargoTypes() { var model = new CargoMasterModel(); return Json(PrepareAvailableCargoTypes(model.AddCargoDetailModel.AvailableCargoTypes, false)); }Cshtml:
columns: [ { field: "CargoType", title: "Cargo Type", width: 200, editor: cargoTypeDropDownEditor, //template: "#= #" },//and functionfunction cargoTypeDropDownEditor(container, options) { $('<input required name="' + options.field + '"/>') .appendTo(container) .kendoDropDownList({ autoBind: false, dataTextField: "Text", dataValueField: "Value", dataSource: { serverFiltering: true, dataValueField: "Value", transport: { read: { type: "POST", dataType: "json", url: "@Html.Raw(Url.Action("GetAvailableCargoTypes", "CargoAdmin"))" } } } }); }
So far dropdown editor works great, but displays only the value. How can I make the grid display Text value of my select list based on value?

Hi,
I saw that the Scss package has a different version than the kendo version. Is there a page where we see the connection between these 2?
What I mean is for example the @progress/kendo-theme-bootstrap@3.2.0 only work with versions starting from Kendo UI R1 2019
Or is it a guaranty that the latest version of the scss file works with any version of kendo?
Hi there. I'm new to the spreadsheet component and was wondering the following. Am I able to take two javascript arrays (converted to json) and populate one starting in cell B2 and populate the other starting in cell J5, for example? I couldn't find a way to dictate the starting cell using 'datasource' and couldn't find a way to add multiple data sets into one worksheet. Thanks.