Telerik Forums
Kendo UI for jQuery Forum
7 answers
1.9K+ views
Hello KendoUI Team,

recently as I have discovered KendoUI and I was very impressed and really prefer over other frameworks like dojo, prototype!

Now, I have a small project which I a couple of issues with
  1. reading of the note.json file seems to be OK
  2. note.json contains 7 items but the paging shows "No items to display"
  3. the create, update and delete functions are working fine but there is no changes visible on the note.json file after a creation, deletion or update.
please find the whole file attached.

I have searched the KendoUI Forums including the web but could not find any help on this.

Please help create my first app with KendoUI!

Thanks
Omar
Richard
Top achievements
Rank 1
 answered on 28 Jan 2014
1 answer
313 views
Hi there,

Is there a simple or generic way to remove all menu items?

Regards,

Scott
Dimiter Madjarov
Telerik team
 answered on 28 Jan 2014
3 answers
431 views
I have problems having the scheduler widget initialize correctly.

When it shows up, I have to go forward one day and then backward one day to have it render as it should.

Why?

Because of problems with posting images on this forum, I had to create a stack overflow posting, if you are interested in screenshots of the rendition, look here.

The source code for index.html comes here (it is probably looking better on stack overflow):

<!DOCTYPE html>
<html>
<head>
    <title>Test</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script src="js/jquery.min.js"></script>
    <script src="js/kendo.web.js"></script>
    <script src="js/kendo.mobile.js"></script>
    
    <script>
        var app = new kendo.mobile.Application(document.body,
        {
            skin: 'flat'
        });
        
        window.kendoMobileApplication = app;
        
        $(function()
        {
            init_scheduler();
            change_view("#vHome");
        });

        function change_view(view)
        {
            app.navigate(view);
        }

        function init_scheduler()
        {
            $("#wScheduler").kendoScheduler({
                date: new Date("2013/6/13"),
                startTime: new Date("2013/6/13 07:00 AM"),
                height: 600,
                views: [
                        "day",
                        { type: "workWeek", selected: true },
                        "week",
                        "month",
                        "agenda"
                ],
                timezone: "Etc/UTC",
                dataSource: {
                    batch: true,
                    transport: {
                        read: {
                            url: "http://demos.kendoui.com/service/tasks",
                            dataType: "jsonp"
                        },
                        update: {
                            url: "http://demos.kendoui.com/service/tasks/update",
                            dataType: "jsonp"
                        },
                        create: {
                            url: "http://demos.kendoui.com/service/tasks/create",
                            dataType: "jsonp"
                        },
                        destroy: {
                            url: "http://demos.kendoui.com/service/tasks/destroy",
                            dataType: "jsonp"
                        },
                        parameterMap: function(options, operation)
                        {
                            if (operation !== "read" && options.models)
                            {
                                return { models: kendo.stringify(options.models) };
                            }
                        }
                    },
                    schema: {
                        model: {
                            id: "taskId",
                            fields: {
                                taskId: { from: "TaskID", type: "number" },
                                title: { from: "Title", defaultValue: "No title", validation: { required: true } },
                                start: { type: "date", from: "Start" },
                                end: { type: "date", from: "End" },
                                startTimezone: { from: "StartTimezone" },
                                endTimezone: { from: "EndTimezone" },
                                description: { from: "Description" },
                                recurrenceId: { from: "RecurrenceID" },
                                recurrenceRule: { from: "RecurrenceRule" },
                                recurrenceException: { from: "RecurrenceException" },
                                ownerId: { from: "OwnerID", defaultValue: 1 },
                                isAllDay: { type: "boolean", from: "IsAllDay" }
                            }
                        }
                    },
                    filter: {
                        logic: "or",
                        filters: [
                                { field: "ownerId", operator: "eq", value: 1 },
                                { field: "ownerId", operator: "eq", value: 2 }
                        ]
                    }
                },
                resources: [
                        {
                            field: "ownerId",
                            title: "Owner",
                            dataSource: [
                                    { text: "Alex", value: 1, color: "#f8a398" },
                                    { text: "Bob", value: 2, color: "#51a0ed" },
                                    { text: "Charlie", value: 3, color: "#56ca85" }
                            ]
                        }
                ]
            });
        }

        function on_goto_scheduler_clicked()
        {
            change_view('#vCalendar');
        }
    </script>

    <link href="css/kendo.mobile.flat.css" rel="stylesheet" />
    <link href="css/kendo.common.css" rel="stylesheet" />
    <link href="css/kendo.default.css" rel="stylesheet" />
    <style>
        [href*=index], #back-button
        {
            visibility: hidden;
        }
    </style>
</head>
<body>
    <div data-role="view" id="vHome">
        <div class="margin-box">
            <span data-role="button" data-click="on_goto_scheduler_clicked">show scheduler</span>
        </div>
    </div>
    
    <div data-role="view" id="vCalendar">
        <div id="wScheduler"></div>
    </div>
</body>
</html>

Rosen
Telerik team
 answered on 28 Jan 2014
1 answer
91 views
My design requires a checkbox as the first column in the grid and subsequent grids, however, using Hierarchy to implement those subsequent grids, the drop down arrow that kendo adds becomes the first column making the column with the checkbox template second. Is there an efficient / official way of getting around this?
AR
Top achievements
Rank 1
 answered on 28 Jan 2014
1 answer
167 views
Hello,

I like the checkbox functionality in the treeview. Is it possible to check the checkbox when selecting a node and behave the CheckChildren.

Thanks,
Martin
Alex Gyoshev
Telerik team
 answered on 28 Jan 2014
3 answers
572 views
I have a need for a custom column editor for a grid I'm working on. As such, I'm adding a custom column menu item to handle column editing. My code looks like:

element.kendoGrid({
    columnMenu: {
        filterable: true,
        sortable: true,
        columns: false
    },
    columnMenuInit: function(e) {
        var menu = e.container.find(".k-menu").data("kendoMenu");
        var field = e.field;
        menu.append({ text: "Columns", spriteCssClass: "k-i-columns" });
        menu.bind("select", function(e) {
            if ($(e.item).text() == "Columns") {
                console.log("Custom button for", field);
            }
        });
    }
  // Other configuration here
}

The good news is that the column menu now has my custom Columns menu item in it. The bad news is that after running the custom select function when being clicked, the menu won't close. I've tried menu.close(), but that doesn't do anything. How do I get the popup menu to close after performing my custom action?
Kiril Nikolov
Telerik team
 answered on 28 Jan 2014
11 answers
149 views
The slider appears broken on iOS7. We are seeing this on iPhone5 with iOS7 and iPads with iOS7. If you open the mobile demos and look in the Forms - Overview demo on an actual iOS device, the track bar is not there. The handle will slide but its offset and you can't see the track. It works in the simulator so you have to use an real device to see it. 
Kiril Nikolov
Telerik team
 answered on 28 Jan 2014
2 answers
638 views
Hi
Could you explain how to refresh and filter the listView according to a specific category in the web sushi sample ?

var items = new kendo.data.DataSource({
    schema: { model: {} },
    transport: { read: { url: window.sushiMenuPath, dataType: "json" } }
});

thanks

Alexander Valchev
Telerik team
 answered on 28 Jan 2014
1 answer
255 views
We have a kendoAutoComplete field where we need the autocomplete list to have column titles at the top.  The AutoComplete documentation describes as headerTemplate property that take a string or a function.

I am assigning html to the headerTemplate property.  But it does not appear with the autocomplete list.  Nor are the header items present when I search the DOM for those header items.

The headerTemplate is our only issue with autoComplete.  Please let us know how we can fix or at least work around this issue.

Code...

                $this.kendoAutoComplete({
                    placeholder: settings.placeholder,
                    minLength: settings.minLength,
                    dataSource: settings.dataSource,
                    dataTextField: settings.dataTextField,
                    delay: settings.delay,
                    height: settings.listHeight,
                    highlightFirst: settings.highlightFirst,
                    select: function (e) {
                        //console.log("autocomplete select");
                        if (settings.onSelect)
                            settings.onSelect(this.dataItem(e.item.index()));
                    },
                    close: function(e) {
                        if (settings.onClose)
                            settings.onClose(e);
                    },
                    dataBound: function(e) {
                        if (settings.onDataBound)
                            settings.onDataBound(e);
                    },
                    open: function (e) {
                        if (settings.onOpen)
                            settings.onOpen(e);
                    },
                    template: settings.contentTemplate,
                    headerTemplate: settings.headerTemplate
                });
Suffice to say, I am confident that the value of settings.headerTemplate is valid html 

Thanks,
Rod Early
McKesson, Inc.
Alexander Valchev
Telerik team
 answered on 28 Jan 2014
2 answers
86 views
 
                  We have one asp.net major project. which has many pages and its fully depends on gridview. Dropdown box bounded on grid row.  Now, we have to change that project to MVC application. which one is best in MVC(asp.net or razor) for developing my project using telerik(kendo). 


                And give me one sample application for gridview with dropdown selection in MVC using telerik.

vinothini
Top achievements
Rank 1
 answered on 28 Jan 2014
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
Drag and Drop
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?