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

I upgraded Kendo from 2013.1.514 to 2014.1.318 and all of the gradients have been removed from my charts.  I am using the bootstrap theme.  What must be done to restore the gradient 3-D effect?


T. Tsonev
Telerik team
 answered on 03 Apr 2014
3 answers
528 views
I badly need to remove or disable the HScrollBar in Tree View.  I've seen answers for radTreeView, but nothing for UI TreeView.   Please, I need to disable this asap
Kiril Nikolov
Telerik team
 answered on 03 Apr 2014
1 answer
388 views
Hi,

I am using the scheduler in Kendo Mobile, referencing the demo.

I set the initial parameters in the init view function and change the dataSource and use the date() function to change the date of the scheduler.
However, I would also like to change the startTime and resources so that more changes can be determined later.

Would you suggest how to change them?

Thanks!
Atanas Korchev
Telerik team
 answered on 03 Apr 2014
1 answer
175 views
I'm trying to use a ClientTemplate for all of my columns to allow an HTML hover tooltip (using span's title attribute).  My ClientTemplate currently is:

string.Format("<span title='#: {0} #'># if ({0} != null) {{# #= {0} # #}}#</span>", fieldName)


This works wonderfully for strings.  However, for enums or DateTime, numbers, etc, it doesn't obey the DataAnnotations.  It simply does a raw output.  How does the Kendo MVC Grid know how to display these fields (without a ClientTemplate, it's perfect without a tooltip)?  How can I slightly tweak my ClientTemplate so that it works for all columns/types?

Thanks in advance,
Kyle
Dimo
Telerik team
 answered on 02 Apr 2014
1 answer
111 views
Hi,
I was expecting that Kendo Chart will not plot points outside range specified for each axes. But its plotting unexpectedly.
Please tell me If we can avoid plotting points outside range.

I have specified range (min and max values for both X and Y axes) like this:
        xAxis:
        {    min: -3000, max: 1000},
        yAxis:
        {    min: 10000, max: 10400, reverse: true, axisCrossingValue: 10000
        }

I supplied multiple curve data & output is like this:

I have marked unexpected points.

T. Tsonev
Telerik team
 answered on 02 Apr 2014
8 answers
3.1K+ views
I have tried to use Turkish format for NumericTextBox, and also I want to convert dot sign of decimal to comma. However, position of sign comma have gone to wrong position on the decimal number (For Example: when I change format to convert dot to comma, then 1.5 number to be 15,00)
How Can I figure out the problem?
Thanks a lot,
Nihat Erdil
Georgi Krustev
Telerik team
 answered on 02 Apr 2014
1 answer
174 views
Hi,

I'm using ASP.NET MVC wrapper to render treeview, and populating data with model binding.
I want to get treeview widget and datasource ( treeview = $("#treeview").data("kendoTreeView")  ) on page load, for example in $(document).ready. Result is undefined.
I have tried even in treeview databound event, result is same.
Cesar
Top achievements
Rank 1
 answered on 02 Apr 2014
3 answers
95 views
Hello, 

I have a selector on my chart, and also one in the navigator... I wish to have an event fired after the selector of the main chart is used, but not when the navigators selector is used. When I implement 

SelectEnd: onSelectEnd,

and 

onSelectEnd= function(e) {
**code**
}

this works for both selectors... Is there a way to limit this event only for the maincharts' selector, and leave the navigator alone? Thanks! =)
T. Tsonev
Telerik team
 answered on 02 Apr 2014
1 answer
320 views
Hi, I identified that when using a data source with serverFiltering enabled, while the user is typing something in the input the list of items are being filtered as well, when for example just 2 items remains in the list and the user press the tab button or just click outside making the component loses its focus nothing is selected in the combo. I would like that when the list of items still is open and I loses its focus the first item is auto selected.

I ended up doing something like this:

widget._events.change.push(function (event) {
               var minLength = $(element).attr("data-odata-minlength") || 2;
               var value = widget.value().trim();
               if (value != '' && value.length >= Number(minLength) && widget.dataItem() == undefined && widget._data().length > 0) {
                   var firstItem = widget._data()[0];
                   setTimeout(function () {
                       $.each(widget._data(), function (index, item) {
                           if (item.Id == firstItem.Id) {
                               widget.select(index);
                               return false;
                           }
                       });
                   }, 100);
                    }
           });
I don't like the idead of having a setTimeout function to set the select item but when I simply set the select without using the setTimeout function it works but something triggered after the change/close events resets my alteration and the selectIndex becomes -1.

Any tips?

Thanks.
Georgi Krustev
Telerik team
 answered on 02 Apr 2014
3 answers
384 views
Hello,

I have a problem with the HierarchicalDataSource in my treeview. I have a 3+ level datasource. The first and the second level are coming from local data, the third and every following level is coming by a webservice-method.

So far so good: First and second level get displayed perfectly, but with the third one I have some problems. Its loading data, but then it removes the icon (which says that Subfolders exist) and no subfolders are shown.

Fact 1: It jumps into the webservice-method, it returns data (all the subfolders), it gets into the success of the ajax-call

Fact 2: If I remove the second level and make the third+ level as my second one, everything works fine!!! (But I dont want to load the second level again, when I already have it in my folderStructure-object)

Here is my code:

var dataSource = new kendo.data.HierarchicalDataSource({
    data: folderStructure,
    schema: {
        model: {
            id: "Id",
            hasChildren: "HasChilds",
            children:
            {
                schema: {
                    data: "items",
                    model: {
                        id: "Id",
                        hasChildren: "HasChilds",
                        children: {
                            transport: {
                                read: function (options)
                                {
                                    var id = options.data.Id;
                                    $.ajax({
                                        type: "POST",
                                        url: webserviceUrl + "/GetSubFolders",
                                        data: JSON.stringify({ parentFolderId: id }),
                                        processData: false,
                                        contentType: "application/json; charset=utf-8",
                                        dataType: "json",
                                        xhrFields: {
                                            withCredentials: true
                                        },
                                        success: function (data)
                                        {
                                            options.success(JSON.parse(data.d));
                                        },
                                        error: function (data)
                                        {
                                            options.error(data);
                                        }
                                    });
                                }
                            },
                            schema: {
                                model: {
                                    id: "Id",
                                    hasChildren: "HasChilds"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
});


I hope someone can help me,

Thank you,
Best regards.
BigzampanoXXl
Top achievements
Rank 1
 answered on 02 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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?