Telerik Forums
Kendo UI for jQuery Forum
4 answers
155 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
116 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
271 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
135 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
120 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
65 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
91 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
95 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
2 answers
149 views
I'm working on a mobile app where the user selects a Shop in the first view and then the second view displays an Order form specific to that shop.  

The order form can be quite long (100's of products) so my plan is to only show product categories as PanelBar items and then load the products for that category (on demand) when the user expands the PanelBar item. Only one Category panel would be expanded at a time to keep the order form manageable on the screen.

My question is about how to replace the PanelBar data when the user goes back and selects another Shop (ie I'm loading a different order form)?  Removing all items seems to work fine but I can't seem to append the new items to the panel bar if it is empty?

Am I missing something or can anyone suggest a better approach?  I've got this working with a JQuery UI Accordian and KnockoutJS but performance is a little average - so I'm trying Kendo as an alternative.

Thanks for any comments.
Brendan
Top achievements
Rank 1
 answered on 03 May 2012
4 answers
578 views
The k-textbox primitive is not the same width as the combobox, dropdownlist, or numeric textbox. It would be nice if all the kendo primitives/widgets gave a uniform look out of the box.
Kamen Bundev
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
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
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?