Hello,
I have a form page with several dropdowns. Each dropdown has a different schema with different field names. I have seen this example of inline templates for non-MVVM dropdowns. http://demos.telerik.com/kendo-ui/dropdownlist/template
I was wondering if a similar option is available for MVVM dropdowns? I would like to include the template inside the HTML attributes instead of as a script block.
I try to add Data Validation to a range with List as validation type.
- first row is disabled to show column titles
- my validation range is B2:B50
Data validation for the first cell (B2) is working, but oher cells in B column does not work.
Can you help me ?
The code:
<div id="spreadsheet" style="width: 100%;"></div>
$(function () { var spreadsheet = $("#spreadsheet").kendoSpreadsheet({ toolbar: false, //sheetsbar: false, sheets: [ { rows: [ { cells: [ { value: "Fonds" }, { value: "Sens" }, { value: "Code" }, { value: "Quantité" }, { value: "Cours" } ] } ] }, { name: "ListAchatVente", rows: [ { cells: [ { value: "A" }, { value: "V" } ] } ] } ] }).data("kendoSpreadsheet"); var range = spreadsheet.activeSheet().range("1:1"); range.enable(false); var columnSens = spreadsheet.activeSheet().range("B2:B30"); columnSens.validation({ dataType: "list", from: "ListAchatVente!A1:B1", allowNulls: true, type: "reject", titleTemplate: "Valeur invalide", messageTemplate: "Valeur autorisée: 'A' ou 'V'." });});
http://jsfiddle.net/hectorcaban/0L2L8nx6/1/
the jsfiddle above is showing data placed in the wrong category.
372000000 should be on phase 2b instead of Phase1b
Any help would be greatly appreciated.
This is for anyone who is having trouble upgrading Kendo in a project used by TFS (our is TFS 2013). Besides taking forever, the upgrade wizard never worked. I would get a "TF10210: Source control encountered an error during delete operation: Exception of type 'System.OutOfMemoryException' was thrown." message.
HTH!
I've tried various methods of using template bound data with Url.Action with no luck.
<script type="text/x-kendo-template" id="kendo-template">
<a href='@Url.Action("action", "controller", new { id = "#=id"}'>Click me</a>
<script>
It seems that the # character gets encoded, so kendo is not able to render the template with the correct id.
How may I use the kendo-template together with the Url.Action helper?
Hi Everyone,
I am trying to remove the tools from the inline editor but even without a single tool, the tool bar still displays. Is there any way to remove/disable that?
Here's how I definte the tools and below is a sample Dojo:
$("#inlineEditor").kendoEditor({tools:[]});http://dojo.telerik.com/@dannycabrera/IXAQu
ThanksHi ,
I'm trying to see how can I add a ng-click attribute to a button inside a split button. I already saw an example of how to do it via template for a regular button but for this doesn't seem to work or Im missing something.
Thanks!
Hi, quick question about the scheduler.
When using the calendar button that opens the popup on a mobile device, it will be wrongly positioned a bit offscreen.
This occurs only the first time, all subsequent popping up will position correctly.
This happens with the latest demo : http://demos.telerik.com/kendo-ui/scheduler/mvvm
I tried with a screen width of 320 pixels.
I can initialize the slider from both class and id property.However, I can't get the value when the slider is instantiated from class:
The second console.log below produces "Cannot read property 'value' of undefined"
$("#slider").kendoSlider({
min:0, max:100, value: 10, smallStep: 10, largeStep: 50, showButtons: false});$(".slider").kendoSlider({ min:0, max:100, value: 20, smallStep: 10, largeStep: 50, showButtons: false}); var $sliderFromId = $("#slider").data("kendoSlider");console.log($sliderFromId.value());var $sliderFromClass = $(".slider").data("kendoSlider");console.log($sliderFromClass.value());Hi,
My DataSource is presented below in coffescript. I omit some field for simplicty.
version: Kendo UI v2016.1.412
kendo.data.DataSource({
serverAggregates: true
serverGrouping: true
...
schema:
aggregates: 'aggregates'
data: 'trips'
total: 'total'
model:
id: 'period'
fields:
max_speed: {type:'number'}
avg_speed: {type:'number'}
trip_distance: {type:'number'}
groups: (response) ->
...
transport:
read: (options) -> ...
})
When I export the CSV, I got the error "Uncaught TypeError: Cannot read property 'data' of undefined"
Looking on the kendo Export source code, I found that when the serverGrouping is enabled, it expects an option object defined in the schema.transport parameter. This code is illustrated bellow.
(function ($, kendo) {
kendo.ExcelExporter = kendo.Class.extend({
...