Telerik Forums
Kendo UI for jQuery Forum
1 answer
186 views
How would one for instance set the combobox's maxLength property? (or any other properties on any of the widgets with the MVVM model without having to access the control in javascript?

thanks!
Atanas Korchev
Telerik team
 answered on 17 May 2012
1 answer
116 views
I am very new to Kendo, as I am evaluating it for adoption into our product.  I've created a plugin composite control that contains a combobox and was wondering how I can go about setting the width of the combobox within the plugin?
Troy
Top achievements
Rank 1
 answered on 16 May 2012
2 answers
611 views
Does anyone have some samples of how kendoWindow is supposed to be used/configured to display an ajax loaded content dialog box with inputs they need to be passed to the controlling code? For example, I am trying to bring up a dialog which accepts the username and password for an application. The calling module is actually a class, so visibility from within the content is not available from the content page. If the window is destroyed after the close is clicked, then the parent object can no longer see the content tags. What is the "right" way to do this.
Steven
Top achievements
Rank 1
 answered on 16 May 2012
1 answer
203 views
If i want to use my remote data for binding the grid, what is the schema format to be followed for getting the data.

1. what is type: "odata" ?
2. what is the procedure to be added for my operational contract to get the schema with supports remote data binding. 

 type: "odata",
     transport: {
                            read: "http://demos.kendoui.com/service/Northwind.svc/Orders"
                        },
Iliana Dyankova
Telerik team
 answered on 16 May 2012
1 answer
302 views
Is there a way to enable multi select without having to hold the ctrl key?

Thanks,
Joe
Iliana Dyankova
Telerik team
 answered on 16 May 2012
4 answers
216 views
Hi I am new to Kendo UI. This is great I like it. I have a problem. I have the data in the following format:

var data = [{ "Region": "Pakistan", "OS": "Windows", "Rank": 1, "TotalUsers": 265 },
                     { "Region": "United States", "OS": "IPhone", "Rank": 1, "TotalUsers": 145 },
                     { "Region": "United States", "OS": "Android", "Rank": 1, "TotalUsers": 125 },
                     { "Region": "India", "OS": "Android", "Rank": 1, "TotalUsers": 32 }
                     ];

I want to show the "Region" wise data. Like, in which region (Region), which operating system(OS)  is used by how many users (TotalUsers).  I referred to the following article to solve this problem, but all in vain.

http://www.kendoui.com/forums/ui/chart/multiple-series-in-datasource-dynamic.aspx

Below is my complete code:

 $(document).ready(function () {

     //Note that there may be as many regions as there are countries in the world. So I need to add the chart series dynamically.

      var data = [{ "Region": "Pakistan", "OS": "Windows", "Rank": 1, "TotalUsers": 265 },
                     { "Region": "United States", "OS": "IPhone", "Rank": 1, "TotalUsers": 145 },
                     { "Region": "United States", "OS": "Android", "Rank": 1, "TotalUsers": 125 },
                     { "Region": "India", "OS": "Android", "Rank": 1, "TotalUsers": 32 }
                     ];

         var dataSource = new kendo.data.DataSource({
             data: data,
             group: {
                 field: "Region",
                 dir: "asc"
             }
         });

         dataSource.read();
         var view = dataSource.view();
         var chartSeries = [];

         for (var groupIx = 0; groupIx < view.length; groupIx++) {
             var group = view[groupIx];
             chartSeries.push({
                 field: "TotalUsers",
                 name: group.value
             });
         }


         $("#chart").kendoChart({
             theme: $(document).data("kendoSkin") || "default",

             transitions: true,

             title: {
                 text: "My Chart Title"
             },
             seriesDefaults: {
                 type: "column",
                 stack: true

             },

             dataSource: data,

             series: chartSeries,


             tooltip: {
                 visible: true,
                 format: "{0}"
             },


             categoryAxis: {
                 field: "OS",
                 labels: {
                     rotation: 45

                 }
             }
         });
     });
   
Attached is an example of the desired chart.
Jeffrey
Top achievements
Rank 1
 answered on 16 May 2012
2 answers
241 views
Reference Url

$("#grid").kendoGrid();
$("#grid").data("kendoGrid").refresh();

All of this ceremony caused frustration and so we decided to eliminate it by supporting method chaining. With this latest service pack, you'll be able to write JavaScript that's more readable:

$("grid").kendoGrid("refresh");

------------------------------------------
So what's the deal here?  We're to pass in method names as a string?  Cant just do...?
$("#grid").kendoGrid().refresh();
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 16 May 2012
1 answer
179 views
I am using Kendo grid to display the search results to used. I doing it following way but it is always giving error " Unable to get value of the property 'length': ". I checked and my json string is in correct format.

var pagePath = "Default.aspx";
 var fn = "getMenuData"
            var dataSource = new kendo.data.DataSource({
                
                transport: {
                    read: {
                        dataType: "json",
                        url: pagePath + "/" + fn,
                        contentType: "application/json; charset=utf-8",
                        type: "POST"
                    }
                },
                schema: {
                    data: "data"
                }
            });

           $("#grid").kendoGrid({
                dataSource: dataSource,
                height: 350,
                scrollable: true,
                sortable: true,
                filterable: true,
                pageable: true,
                groupable: true,
                columns: [{ title: "Menu ID", field: "MenuID" },
                    { title: "Menu Name", field: "MenuName"}]
            });

Also, how can I make it to that when user enter any value in the textbox on the page and clicks search button, the kendo grid updates its data to show search results. I tried rebind but it didn't work.

Thank you,
J
Carlos Adriano
Top achievements
Rank 1
 answered on 16 May 2012
4 answers
159 views
I have a chart with 90-degree rotated category axis.
categoryAxis:{
    categories:names,
    labels:{rotation:90}
},

This works fine in FireFox 12, but in IE9 (64 bit) running on Windows7 I am getting hierogliphics. I have done nothing special with the font settings in the browser, so it seems the default for charts is an Arial or Verndana type font.

Horizontal labeling is working fine. (the data is remotely driven, so creating a JsFiddle would take a little work).

Dr.YSG
Top achievements
Rank 2
 answered on 16 May 2012
2 answers
384 views
In what way do I query the current page shown by the scrollview widget from Javascript?
Ron
Top achievements
Rank 1
Veteran
 answered on 16 May 2012
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
Drag and Drop
Application
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
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
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?