Telerik Forums
Kendo UI for jQuery Forum
2 answers
134 views

Hi, 

Im trying to set a remote datasource's data to an array initially, and then execute the read() method later to retrieve its remote data. But for some reason the read() is not executing the remote call, and the subsequent datasource.data() is just returning the initial array.

Dojo Code: http://dojo.telerik.com/INUWe

Please advise.

Kind Regards,
Grant

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 09 Jan 2017
11 answers
984 views
Hi,
I am having trouble setting the height and width of a sparkline.

Simplified code:
@{
        if (Model.IsTrue) <-- boolean
        {
            var readUrl = Url.Action("Action", "Controller", new { id= Model.ID});
            @(Html.Kendo().Sparkline()
                .Name("sparkline-risk-score")
                .HtmlAttributes(new { style = "width: 500px; height:400px;" })
                .ChartArea(ca => ca.Background(""))
                .DataSource(ds => ds.Read(read => read.Url(readUrl)))
                .Series(series => series.Line("Risk Score").Color("#C0504D"))
            )
        }
    }

Data from controller method:
[0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570,0.5570]

Output:
http://i.imgur.com/VvpU8Vx.png

Hopefully I'm not missing something really obvious.
Thanks!
Per
Top achievements
Rank 1
 answered on 07 Jan 2017
6 answers
788 views

I'm trying to make a kendo grid using sortable and inline editing. I found whenever you make the grid sortable there are some issues that happen with inline editing. Whenever you click on the edit button, you can't click into the input fields to edit. The only way you can edit those fields is if you tab over to them. Also, whenever you change certain inputs they won't save. 

 

I've created a dojo to show my issues: http://dojo.telerik.com/uYidA

 

Just click edit on any row and see that you can't click into the inputs. Also, click edit and try to change one of the inputs and see that it doesn't save correctly.

 

Thanks in advance!

Ken
Top achievements
Rank 1
 answered on 06 Jan 2017
1 answer
538 views

Hi

 

We are now using Telerik Kendo UI Professional and developing mobile site and would like to find out whether I can include CAMERA CONTROL for users to take pictures and upload.

Please send some sample code for us to refer OR send site-link to study.

Thanks in advance

Regards

Rajan

 

 

Alex Hajigeorgieva
Telerik team
 answered on 06 Jan 2017
2 answers
289 views

Hi.

I have a tooltip with a list of checkbox to control a visibility of grid columns.

I change de position of a tooltipo on show by a fixed position.

 

Its work fine with columns where rows had one line, but when a row have more than one line the grid resize his height and change de position of a tooltip.

When this occurs tooltip go outside a viewport, but keep open.

 

How can I prevent this change of position of a tooltip.

Dimiter Topalov
Telerik team
 answered on 06 Jan 2017
7 answers
667 views

Im trying to create a dropdown list where I can add new items. However - the function inside the noDataFound template needs to be an AngularJS function. Is there any way to do this? Code is below:

<select id="layout"
kendo-drop-down-list
style="width: 230px; font-size:10pt !important;"
k-ng-model="selectedLayout"
k-options="layoutOptions"
k-on-select="changeLayout(true)">
</select>

$scope.layoutOptions = {
dataSource: $scope.layouts,
dataTextField: "description",
dataValueField: "id",
filter: "contains",
valueTemplate: '<span class="selected-value"><img data-ng-src="{{dataItem.image}}") width="20px" height="20px"></span><span>&nbsp;&nbsp;{{dataItem.description}}</span>',
template: '<span class="k-state-default"><img data-ng-src="{{dataItem.image}}") width="40px" height="40px"></span><span>&nbsp;&nbsp;{{dataItem.description}}</span>',
noDataTemplate:
//$("#noDataTemplate").html()
'<div>' +
'Save Custom Template - "#: instance.filterInput.val() #" ?' +
'</div>' +
'<br/>' +
'<button class="k-button" onclick="addNew("#: instance.filterInput.val() #")">Save</button>'
};

 

Thanks!!

Marc
Top achievements
Rank 1
 answered on 06 Jan 2017
1 answer
164 views

Hi,

I'm trying to build a custom widget in TypeScript based on the multiselect. However I found out that mvvm databinding is only working properly if I do something like:

kendo.data.binders.widget.multiselectcustom = kendo.data.binders.widget.multiselect;

 

(example can be found here: http://stackoverflow.com/questions/19710032/extending-multiselect-widget-breaks-value-binding-in-mvvm).

My widget works if I do the entire widget in Javascript, but not in TypeScript, since "kendo.data.binders" is not defined in the d.ts file (and thus the complilation fails).

How can I get this to work?


Stefan
Telerik team
 answered on 06 Jan 2017
11 answers
515 views

Is there a timeline as to when Kendo UI will support jQuery 3.x?

Thanks

marc

Niko
Telerik team
 answered on 06 Jan 2017
1 answer
160 views

Hello,

I want to create a link inside my Kendo template, but I always get the Error 'Invalid Template ...'

Is there anyone who can help me with this? 

<a href="/#/Kontakt/Info/#:KONTAKTID#" target="_blank">

Tank you in advance

Dimiter Madjarov
Telerik team
 answered on 06 Jan 2017
1 answer
563 views

Hi there,

I'm trying to run Kendo Editor on React using the sample that appears on NPM.

I'm using webpack.

This is my component:

var KendoEditor = require('kendo-ui-react-jquery-editor').default;
  
//Don't forget CSS, webpack used to include CSS
require('../../../Content/Telerik/kendo.common.min.css');
require('../../../Content/Telerik/kendo.default.min.css');
require('../../../Scripts/Telerik/kendo.editor.js');
 
  
var Example = React.createClass({
    render: function() {
        return (
          <KendoEditor options={{height: 550,sortable: true}}>
 
          </KendoEditor>
      );
}
});
 
module.exports = Example;

This is my view

@Html.React("Client.Example", new { }, clientOnly: true)

 

And I'm already bundling kendo.editor.js and kendo.all.js.

The error that appears is:

Uncaught TypeError: Cannot read property 'Editor' of undefined

On this line:

//note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
    this.widgetInstance=new _kendoEditor2['default'].ui.Editor(elementNode,this.props.options);//if props are avaliable for events, triggers, unbind events, or methods make it happen now

 

Can you please help? Thanks in advance.

Alex Gyoshev
Telerik team
 answered on 06 Jan 2017
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?