Telerik Forums
Kendo UI for jQuery Forum
1 answer
128 views
as per documentation 
seriesHover should work like seriesClick. However in my example below it doesnt . when i replace seriesHover with seriesClick it works for a click event.
 
function createChart() {
                    $("#chart").kendoChart(
                       {
                           title: {
                                 text: "Kendo Chart Example"
                            },
                            seriesDefaults: {
                                type: "line"
                            },
                            series: [
                                 { name: "Example Series", data: [200, 450, 300, 125] }
                            ],
                            tooltip: {
                                visible: true,
                                format: "{0}%"
                            },
                            seriesHover:function(e) {
                                var w=e.value;
                                alert(w);
                            }
                       }
                    );
                }
                
                $(document).ready(function() {
                    createChart();
                });
 
Iliana Dyankova
Telerik team
 answered on 03 May 2012
4 answers
120 views
Hi,

Could someone please look at this -

http://jsfiddle.net/wickedw/72wLY/ 

And tell me what I am doing wrong?

I am trying to get the listview buttons in v1 to display as mobile style -

1                           >
2                           >

Not as 

[1]
[2]

Thanks
Matt


Matt
Top achievements
Rank 1
 answered on 03 May 2012
4 answers
203 views
Hi all,
  i'm trying to open the http://demos.kendoui.com/web/dropdownlist/remotedatasource.html url on a Motorola Xoom with Android 3.2, but the dropdownlist doesn't show any data except the waiting cursor. Is it a known issue?

Thanks
  Francesco
Georgi Krustev
Telerik team
 answered on 03 May 2012
0 answers
131 views
Am i missing something or doesn`t the DropDownList support this very basic feature of the html <select> tag?
How to implement selection of multiple values from a list using Kendo.. Or is this another case of "this cannot be done"? ;)
GungFooMon
Top achievements
Rank 1
 asked on 03 May 2012
0 answers
293 views
I'm pretty new to the whole jquery Kendo UI scene and I was playing around with the kendo grid for a project I was working on.

I got pretty far with loading basic JSON data into the grid, with just grabbing a sample set of data from the database.

However, now I'm trying to do an AJAX call (via jquery library), pass in some dates to a database, and get some JSON back and put it in the grid.

For some reason, the transport option worked a lot better than the data option.
I was using the data option because I was having the success function on the ajax call pass in the data to the grid.

However, when I do this, I get:
Uncaught ReferenceError: uid is not defined.

Is my approach wrong?
Am I missing some simple option?
Or does the transport feature have an option like the jquery ajax function?

See code below, which is still kind of messy...
I'm using the March 2012 version of Kendo Web Open Source.

The script:
$(document).ready(function() {
        $("#GetBOData").click(function(){
            $.ajax({
                type : 'POST',
                url  : "/~basadmin/corp/reports/get_store_bkord_data.php",
                data : {
                   BeginDate : $("#BeginDate").val(),
                   EndDate   : $("#EndDate").val()
                },
               success : function(data, textStatus, jqXHR) {
                    //alert(data);
                    $("#grid").kendoGrid({
                         dataSource: {
                             dataType: "json",
                             data: data,
                             //transport: {
                             //    read: {
                             // url:"/~basadmin/corp/reports/get_store_bkord_data.php",
                             //        dataType: "json"
                             //    }
                             //},
                             //schema: {
                             //    model: {
                             //        fields: {
                             //            Buyer: { type: "string" },
                             //            Line: { type: "string" },
                             //            Category: { type: "number" },
                             //            PartNum: { type: "string" },
                             //            Description: { type: "string" },
                             //            StoreLoc: { type: "number" },
                             //            WhseLoc: { type: "WhseLoc" }
                             //        }
                             //    },
                                 //total: "total"
                             //},
                             serverPaging: false,
                             serverSorting: false,
                             pageSize: 1000
                         },
                         columns: [
                             {title: "Buyer", field: "Buyer", width: 75},
                             {title: "Line", field: "Line", width: 75},
                             {title: "Category", field: "Category", width: 100},
                             {title: "Part Number", field: "PartNum", width: 110},
                             {title: "Description", field: "Description", width: 100},
                             {title: "Store Loc", field: "StoreLoc", width: 100},
                             {title: "Whse Loc", field: "WhseLoc", width: 100}
                         ],
                         scrollable: true,
                         height: 800,
                         filterable: true,
                         sortable: {
                             mode: "multiple",
                             allowUnsort: true
                         },
                         groupable: true,
                         pageable: true,
                         navigatable: true,
                    });
               }
            });
        });
    });

Then the body of the html:
<body>
     
Begin Date: <input type="text" name="BeginDate" id="BeginDate"/>
End Date: <input type="text" name="EndDate" id="EndDate" />
<input type="submit" id="GetBOData" value="Submit" />
 
<div id="grid" style="width:1280px">
     
</div>
     
 
</body>


The php script returns data like so:

[{"Buyer":"Joe Smo","Line":"GBR","Category":"1","PartNum":"833-22101","Description":"Fuel Injector","StoreLoc":"34","WhseLoc":"90"}]

The JSON is one big giant array, with a bunch of JSON objects inside.  (I think I'm getting my terminology correct).

...Ugh, the code did a lot of word wrapping, Sorry... Not use to the code editor here I guess.  I'll attach the file and see if that is better.
John
Top achievements
Rank 1
 asked on 03 May 2012
1 answer
150 views
I do have multiple action buttons for each row. Instead of showing them all, I want to show only a one button, like 'More'. clicking on this will open a drop down menu, where all other actions will be displayed. Is there any way to achieve this?
Dimo
Telerik team
 answered on 03 May 2012
1 answer
133 views
Looking at various stackoverflow answers and kendo forum posts I can see people talking about using Kendo js library methods like : 
kendo.toString() and kendo.stringify(). 

Where is the documentation for this ?? I have searched the docs and see nothing of this nature. Is this a hidden unsupported part of kendo ui ? 
Petyo
Telerik team
 answered on 03 May 2012
0 answers
73 views
Good Day

is it possible to add a sorting field at top of each column in grid control
Ammar
Top achievements
Rank 1
 asked on 03 May 2012
0 answers
95 views
Hi,

I have added kendo UI grid into my project. Further, I want to add search option to the grid in addition to the filtering functionality.
Is that search functionality supported by the Kendo UI grid? or else do I need to add or create  a separate Search control to it?
Please help me on this.

Thanks ,

Niluka
Niluka Subasinghe
Top achievements
Rank 1
 asked on 03 May 2012
1 answer
105 views
Hi,

I had been using Sinatra pumping JSON to jqGgrid so I know my App works great. I decided to try out this Kendo UI as it reminds me of ExtJS which I have used extensively.

I setup a simple datasource pointing to my route supplying JSON

var ds = new kendo.data.DataSource({
    transport: {
      read: {
        url: "/admin/users",
        dataType: "json"
      }
    }
  });
 
And then a super simple grid:

$("#user-grid").kendoGrid({
      dataSource: {
        data: ds,
        pageSize: 10
      },
      height: 360,
      columns: [ {
              field: "firstname",
              width: 90,
              title: "First Name"
          } , {
              field: "lastname",
              width: 90,
              title: "Last Name"
          } , {
              field: "email",
              title: "Email",
              width: 200
          }
      ]
    });

This setup never calls the route for the data? The data source is thus empty, and hence the grid throws an error. 

I see nothing wrong, but then again, I have only used this KendoUI for 10 minutes. What am I missing here. Seems loading a datasource remotely like that should just work, but my route for the data is not even hit... 

If I change my grid to use dataSource: {data: ds:read()} then the ajax fires off and a nice string of JSON comes along, but nothing gets rendered in the grid. 

Kinda demoralizing when the basic do not work. Anyone have a hint or tip???
Alexander Valchev
Telerik team
 answered on 03 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
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?