Telerik Forums
Kendo UI for jQuery Forum
5 answers
913 views
Any one else noticed that if the grid receives an empty result set crashes? Say one of the filters returns zero results it all goes south, is there a way to save it? It returns this error : Uncaught TypeError: Cannot read property 'length' of undefined  
Michael
Top achievements
Rank 1
 answered on 04 Jun 2012
1 answer
198 views
Hi, The datasource has the change event when receiving data. The startrequest when the call is performed. When the datasource get no data, how can I handle this? It seem missing a call back. Thanks.
Patrick Rioux
Top achievements
Rank 1
 answered on 04 Jun 2012
7 answers
538 views
Hi,

Another GridView MVVM query from me! I've got my Kendo Grid working via MVVM, which uses the grouping / paging fine (data-groupable / data-pageable / sortable), but for filtering columns I can't seem to find a property that works and this is not documented anywhere I can find. I've tried data-filterable to no avail.

Has anyone found the correct syntax for this?
Richard
Top achievements
Rank 1
 answered on 04 Jun 2012
1 answer
169 views
Currently have a kendoTreeView, and selected nodes can be dropped into a grid or listview, but source should remain inside treeview to be dragged again to another cell or row.

Any examples of this operation?
Dimo
Telerik team
 answered on 04 Jun 2012
0 answers
142 views
Hi, I wish to have a new functions about combobox with treeview.
Anyone got this functions?

I have captured the picture:  Category Picture <--- here..
Joachim
Top achievements
Rank 1
 asked on 04 Jun 2012
1 answer
61 views
Hello,
I have a kendo editor which throws an error when I try to paste content for the second time. Check this fiddle in IE 9. Can anyone tell me if there is a fix or workaround for this?

Thanks.

  
Alex Gyoshev
Telerik team
 answered on 04 Jun 2012
4 answers
811 views
I am getting the error: Uncaught TypeError: Cannot read property 'field' of undefined 

in the kendo.all.min.js file when trying to post a view model with nested objects. 

I have created a jsfiddle to repro the issue, I don't think I'm describing it very well, so take a look, it is short.

http://jsfiddle.net/bNBUP/ 

Any ideas?
Thanks,
Gary 
Atanas Korchev
Telerik team
 answered on 04 Jun 2012
1 answer
125 views
With this data source configuration .read() does not seem to be passing &group= and &subgroup= assignments to the server.  

var spaceSeasonDS =
new kendo.data.DataSource({
    transport: {
        read: {
            url: window.stpURL + "/SpaceAttribute",
            dataType: 'xml',
            data: {
                action: 'getSeasons',
                group: function(){
                    return spaceGroup.value()
                },
                subgroup: function(){
                    return spaceSubgroup.value()
                }
            },
            cache: false,
            complete: onReadComplete_Season
        }
    },
    schema: {
        type: "xml",
        data: "/TABLE/SEASONS",
        model: {
            fields: {
                item: "item/text()"
            }
        }
    },
    error: raiseXmlDsErrorWindow
});



Should 
data: {
    action: 'getSeasons',
    group: function(){
        return spaceGroup.value()
    },
    subgroup: function(){
        return spaceSubgroup.value()
    }
},

be this instead ?

data: function() {
return {
        action: 'getSeasons',
        group: spaceGroup.value(),
        subgroup: spaceSubgroup.value()
}},
Alexander Valchev
Telerik team
 answered on 04 Jun 2012
0 answers
90 views
Dear All,

If I have developed web application using kendo ui. i can use same code to mobile application or i want use different separate code? and what is the main features available in kendo ui compare to others.

Thanks in Advance..!
Susi
Top achievements
Rank 1
 asked on 03 Jun 2012
2 answers
285 views

Hello,
I'm new to Kendo.
I'm trying to implement the following example:
http://demos.kendoui.com/web/grid/editing-inline.html
My server side code is ASP.Net

The problem is that while clicking new/update/delete inline options, i get a request to the server, to the relevant web method, however
no parameters are passed (the request object is empty).

Here is the client side code:
//////////////////////////////////////////////// Ready evet - Datasource
    $(document).ready(function () {
        var MydataSource = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "HttpHandler.aspx/Line2AOIGetData",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json"
                },
                update: {
                    url: "HttpHandler.aspx/Line2AOIUpdate",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json"
                },
                destroy: {
                    url: "HttpHandler.aspx/Line2AOIDelete",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json"
                },
                create: {
                    url: "HttpHandler.aspx/Line2AOICreate",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json"
                },
                parameterMap: function (options, operation) {                   
                    if (operation !== "read" && options.models) {
                        return { models: kendo.stringify(options.models) };
                    }
                }
            },
            batch: false,
            pageSize: 5,
            schema: {
                data: 'd',
                model: {
                    id: "LineName",
                    fields: {
                        LineName: { editable: true, nullable: false, validation: { required: true} },
                        Equipmentname: { editable: true, nullable: false, validation: { required: true} }
                    }
                }
            }
        });

        //////////////////////////////////////////////// Grid
        $("#theGrid").kendoGrid({
            dataSource: MydataSource,
            pageable: true,
            toolbar: ["create"],
            columns: [{ title: "Line", field: "LineName", width: "200px" },
                    { title: "AOI Machine", field: "Equipmentname", width: "200px" },
                     { command: ["edit", "destroy"], title: "&nbsp;", width: "250px"}],
            editable: "inline",
            scrollable: false
        });
    });

Please advice.
Tnx

Mentor Graphics
Top achievements
Rank 1
 answered on 03 Jun 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
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?