Telerik Forums
Kendo UI for jQuery Forum
2 answers
2.1K+ views

Hi,

May I know is current official release of Kendo UI compatible with jQuery 3.0 final? If no, then is that any plan/timeline to make it compatible?

Thank you.

jhudson
Top achievements
Rank 2
 answered on 03 Jul 2016
3 answers
193 views

I have an angular directive that wraps a virtual kendo ui dropdown.  The issue i'm having is that even though i am setting the dataValueField when i select an dropdown item the k-ng-model bound field is set to the entire item object rather than  the property of the object specified by the dataValueField.  Not sure what i'm doing wrong.

 

var selectDataSource = new kendo.data.DataSource({
            transport: {
              read: function(options) {
                var currentPage = getItemPage(options.data.skip, options.data.take);
                options.success(currentPage);
              }
            },
            schema: {
              data: "currentPage",
              total: "total"
            },
            pageSize: pageSize,
            serverPaging: true // enable serverPaging so take and skip are sent as
          });  
 
        //setup the dropdown options object
        scope.dropDownListOptions = {
          dataTextField: scope.textField,    // 'name' 
          dataValueField: scope.valueField,  // 'id'
          dataSource: selectDataSource,
          height: height,
          virtual: {
            itemHeight: 26,
            valueMapper: function(options) {
                var itemIndex = scope.itemList.findIndex(function(element, index, array){
                return options.value === element[scope.textField];
              });
              options.success(itemIndex);
            }
          }
        }

 

 

/*directive html*/

<select id="{{selectId}}"
        kendo-drop-down-list 
        k-options="dropDownListOptions" 
        k-ng-model="modelValue"></select>

 

The other question relates to the optionLabel default option.  Is there any way to disable this option so that the user can't select it?

 

Michael
Top achievements
Rank 1
 answered on 01 Jul 2016
1 answer
623 views
I'd rather do some DOM manipulation in an external Javascript(actually Typescript) than the inline templating javascript syntax that Kendo uses, but I'm having trouble with when the DOM is ready so I can apply my changes to these elements.   I don't think $(Document).ready() works in my Typescript constructor that gets called everytime the row is expanded for the details.  Is there an event I can subscribe to in order to know when I can start manipulating the DOM?
Dimo
Telerik team
 answered on 01 Jul 2016
1 answer
306 views
I want to display the counts of specific retrieved fields in my pie/donut chart.
I'm retrieving data via REST and the result is in json format. The source is a list repeating values:
 
 
     Example: In the following list, I'd like to get a present the number (count) of completed responses; perhaps in a second chart present the breakdown of responses by location.
 
    var userResponse  = [
          {     User:  "Bob Smith", Status: "Completed", Location: "USA" },
          {     User:  "Jim Smith", Status: "In-Progress", Location: "USA" }, 
         {     User:  "Jane Smith", Status: "Completed", Location: "USA" },
         {     User:  "Bill Smith", Status: "Completed", Location: "Japan" },
         {     User:  "Kate Smith", Status: "In-Progress", Location: "Japan" },
         {     User:  "Sam Smith", Status: "In-Progress", Location: "USA" },
     ]
 
======
 
My Initialization currently looks like this:
 
 

$('#targetChart').kendoChart({

    dataSource: {

        data: data.d.results,

        group: {

            field: "Location",

        },

    },

    seriesDefaults: {

        type: "donut",

    },

    series: [{

        field: 'Id',

        categoryField: 'Location',

    }],

});

Iliana Dyankova
Telerik team
 answered on 01 Jul 2016
1 answer
1.5K+ views

We have a grid 

@(Html.Kendo().Grid<PatientRecord>(Model.WorklistPatientRecords)

that has a ClientTemplateId

.ClientDetailTemplateId("grid-details-form")

Where "grid-details-form" id is in 

 

@{ Html.RenderPartial("_DiagnosisRecordComments"); 

 

The implied model for the partial that makes up the ClientTemplate is obviously PatientRecord

Now within _DiagnosisRecordComments I have some code that looks like the following

     #

new AcmeGroup.ValidationComments(ValidationCommentsViewModel);

#

ValidationCommentsViewModel is a property of PatientRecord and that works fine.

 

The problem is that I want to pass PatientRecord itself....the actual implied model that is used by the client template/Partial.  If I use 

 

     #
new AcmeGroup.ValidationComments(PatientRecord);
#

I get an error.

What name do I use for the actual implied model that ClientDetailTemplate actually uses?

 

 

 

 

Dimo
Telerik team
 answered on 01 Jul 2016
1 answer
733 views

Hi, please look at the following example:

http://docs.telerik.com/kendo-ui/controls/layout/window/how-to/add-auto-resizing-splitter

Please run the example and follow these steps:

1. Move the splitter to the right.

2. Move mouse to the right edge of the window and drag towards the left.

(i.e. resize the window to be smaller using the right edge of the window)

3.  Note that the splitter does not resize proportionally and becomes hidden such that you can no longer operate the splitter.

 

Are there any fixes/workarounds for this?

 

Thanks,

Michelle

Dimo
Telerik team
 answered on 01 Jul 2016
1 answer
134 views

Hello

I am creating a directive that encapsulates the kendo ui gantt, and I'm trying to use globalization but is not working.

I am using $watch in language attr and when changes he made the search for the file and then re-create the directive, but has no effect.

Can you help me?

Attached is my directive, only for testing..

Dimitar Terziev
Telerik team
 answered on 01 Jul 2016
9 answers
571 views
I am trying to use the excel export feature with a grid but the toolbar icon is not the one in the demos.
And it is not exporting (see snapshot).

Is there something obvious I am doing  wrong.

<script id="NodeViewTemplate" type="x-kendo-template">
     <div data-role="grid" id="grid1"
          data-scrollable="true"
          data-sortable="true"
          data-groupable="false"
          data-filterable="true"
          data-reorderable="true"
          data-resizable="true"
          data-row-template="NodeRowTemplate"
          data-alt-row-template="NodeAltRowTemplate"
          data-toolbar="['excel']"
          data-excel="fileName: 'Nodes.xlsx',
                      filterable: true"
         data-columns="[
         { field: 'statusimage' , width: 175 , title: 'Status'  },
         { field: 'idradio', width:100  , title: 'Device' },
         { field: 'peakCurrent',width:100  , title: 'Peak' },
         { field: 'avgCurrent',width:100  , title: 'Average' },
         { field: 'dateupdated', width:200 , title: 'Last Updated' },
         { field: 'nextupdate', width:200 , title: 'Next Update' },
         { Command: ['edit'] , width:150 , title: ''},
         ]"
         data-bind="source: Nodes, visible: isVisible">
     </div>
 </script>
Kiril Nikolov
Telerik team
 answered on 01 Jul 2016
8 answers
410 views

Hello, 

I would like to ask if there is a possibility the filtering which is enabled from datasource (filterable: true) to be active and visible but readonly.
Actually we have a scenario in which in 'Edit mode' the user can choose by which columns the grid to be filtered, and then when saved and ran in 'Live mode' the grid is reloaded and the user could only see by which columns the grid data is filtered but cannot change the filter.

 

Thank you,

Regards

Daniel
Telerik team
 answered on 01 Jul 2016
3 answers
147 views

I though that in all kendo widgets, wrapper property is the outer element for widget. But in TabStrip case this is not true, because wrapper and element point to same jQuery element (when created from div, not ul).

Why?
Is there any other widget, which wrapper property do not point to top(the most outer) jQuery element?

Magdalena
Telerik team
 answered on 01 Jul 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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?