Telerik Forums
Kendo UI for jQuery Forum
1 answer
205 views

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.

Petyo
Telerik team
 answered on 26 Apr 2016
6 answers
351 views

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'."
    });
});

 

T. Tsonev
Telerik team
 answered on 26 Apr 2016
2 answers
59 views

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. 

 

 

Iliana Dyankova
Telerik team
 answered on 26 Apr 2016
0 answers
262 views

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.

  1. Unbind from TFS. (File, Source Control, Change Source Control - choose unbind)
  2. Run Upgrade Wizard to completion.
  3. Rebind to TFS (File, Source Control, Change Source Control - choose bind)

HTH!

Alex
Top achievements
Rank 1
 asked on 25 Apr 2016
2 answers
237 views

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?

Petyo
Telerik team
 answered on 25 Apr 2016
2 answers
418 views

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

Thanks
Warren
Top achievements
Rank 2
 answered on 25 Apr 2016
2 answers
118 views

Hi , 

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!

 

Developer
Top achievements
Rank 1
 answered on 25 Apr 2016
3 answers
186 views

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.

Vladimir Iliev
Telerik team
 answered on 25 Apr 2016
1 answer
171 views
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());
Kiril Nikolov
Telerik team
 answered on 25 Apr 2016
1 answer
94 views

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({

         ...

 

 

 

 

 

Nikolay Rusev
Telerik team
 answered on 25 Apr 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?