Telerik Forums
Kendo UI for jQuery Forum
1 answer
127 views
Hello,

I am trying to re build a list view and I'm facing a situation I cannot solve:

I first build a list view with headers:

var template = Handlebars.compile( $( '#eventListTemplate' ).html() );
 
 // detach events
 var listView = $("#list-container").data("kendoMobileListView");
 if ( typeof listView !== typeof undefined ) { listView.destroy(); };
 $("#list-container").empty();
 
 $("#list-container").kendoMobileListView({
     template : template,
     dataSource: kendo.data.DataSource.create( { data:results, group:"start" } ),
     fixedHeaders: true
 });

Then when a user click on some button, it should repopulate the list view without headers this time (the data structure is completely different as well as the template):

$("#list-container").data("kendoMobileListView").destroy();
    $("#list-container").empty();
 
    var template = Handlebars.compile( $( '#userListTemplate' ).html() );
 
    $("#list-container").kendoMobileListView({
        template : template,
        dataSource: kendo.data.DataSource.create( results ),
        fixedHeaders: false
    });

Unfortunately, the list view is repopulated with the headers and the whole thing crash as nothing is displayed (I've checked in the code source, it is appended though, but nothing is displayed) its just like if when calling the destroy method the widget wasn't completely destroyed. Why is this happening ?

Thank you very much for your help as for now I have to drop out the headers

Kiril Nikolov
Telerik team
 answered on 17 Apr 2014
6 answers
572 views
I created this fiddle to demontrate what I want to do, which is change the dataTextField (the one searched by the autocomplete widget) at run-time from one property to another:

http://jsfiddle.net/jtower/uSLND/

Any suggestions?

- J. Tower, Falafel Software
Alexander Valchev
Telerik team
 answered on 17 Apr 2014
1 answer
129 views
Hello,

I was just looking over the Telerik blog post "How To Do JavaScript Alerts Without Being A Jerk".  Is there a complete, updated, official example of a standard alert/confirm implementation that one can download?  

Thank you,
Tony
Alexander Popov
Telerik team
 answered on 17 Apr 2014
3 answers
91 views
Hi,

I want to know the design pattern used while building kendo, I saw 'kendo_module' with some interesting attributes (id, deps, features, ...), but I didn't see anything related to its behavior.

I'm asking because I want to organize our kendo components/modules in order to easily plug-and-play them.

Thanks
Atanas Korchev
Telerik team
 answered on 17 Apr 2014
2 answers
382 views
I declared my Drawer like this
<div id="app-drawer" data-role="drawer" data-init="drawerInit">

With a function in script tags like:
function drawerInit(e) {...}

As per the documentation: http://docs.telerik.com/kendo-ui/api/mobile/drawer

But it doesn't fire... 
I renamed my function "drawerInit" to "onInit" and it now works!

Why wouldn't it just call the function specified in the data-init attribute?
Is this a bug or intentional?
Kiril Nikolov
Telerik team
 answered on 17 Apr 2014
1 answer
91 views
I a recently found a strange behavior when work the dropdown list in Firefox Linux 

Example :
http://jsfiddle.net/jLkuN/

All works weel when the scrool fits the top but if i scrool down a litle bit the dropdown open and close imideatly .


Thanks
carlos
Top achievements
Rank 1
 answered on 17 Apr 2014
3 answers
94 views
I'm trying to access the "device" object of PhoneGap to get the device name, version etc but I keep getting "Cannot read property 'name' of undefined".
Seems like "device" is undefined?
I used the example code from http://docs.phonegap.com/en/1.5.0/phonegap_device_device.md.html

var phoneName = device.name;

I can see that in the project the Device plugin is enabled.
Kiril Nikolov
Telerik team
 answered on 17 Apr 2014
1 answer
125 views
Hi everyone,

Is it possible to draw arrechart using the Kendo UI DataViz similar to what can be done with Highcharts?

I’d like to draw an arearange chart and a line on one graph and I want the line to have a black color when inside the arearange but red color when outside the arearange.

See the attached picture.

Also see the following example on jsfiddle.net (however, I wasn’t able to change the color as on the
picture..).

http://jsfiddle.net/2cVGX/
Iliana Dyankova
Telerik team
 answered on 17 Apr 2014
1 answer
99 views
Hi All,

I'm trying to build a page with multiple widget styles (for example multiple buttons each in a different colour). 

I found in theme builder how to adjust my colour settings for all buttons - but can I use multiple themes on the same page, and specify the "theme" for each widget? or is there another way?

Thanks In Advance,
  Ynon
Iliana Dyankova
Telerik team
 answered on 17 Apr 2014
1 answer
313 views
Hello,

we implemented Kendo Scheduler on our page where we are talking to our Web API. How to implement lazy loading in this case so I always load only load data for the current view (or for the "biggest" view which would be month).

Thanks,

Jakub
Georgi Krustev
Telerik team
 answered on 17 Apr 2014
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
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?