Telerik Forums
Kendo UI for jQuery Forum
1 answer
271 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
190 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
211 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
153 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
134 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
355 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
3 answers
112 views
Hi, I have a grid with edition inline, with a problem.
When I edit a row, later save changes, it's working fine, but when I try edit the same row again, it gets an error, without none error message.
What can be happening?

Igor
Top achievements
Rank 2
 answered on 16 May 2012
0 answers
88 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. Why remote-data sample is not  working with our remote data  binding?
2. type: "odata"  is it compulsary?
3. Odata services and kendo services only will work ?

Srinivasulu
Top achievements
Rank 1
 asked on 16 May 2012
0 answers
64 views
Hi there,

please clarify with me,

I need to show Chart value with category name in a same line.

Is there possible to do this.

Thanks,
Rajesh.C
Rajesh
Top achievements
Rank 1
 asked on 16 May 2012
0 answers
42 views
Hello,

when we open the window page scrolling position was in middle but after maximize and minimize the window page is scroll up, is there any solution in window ui like after minimize the window page set scrolling position as before maximize the window.

thanks
Wajahat
wajimam
Top achievements
Rank 1
 asked 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
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
Form
View
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
AICodingAssistant
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?