Telerik Forums
Kendo UI for jQuery Forum
1 answer
102 views
http://dojo.telerik.com/ixEWu/5

Hi there. I have put all my html in the dojo with the link above. If you would click the "Add" button you would see that the window appears on the bottom, which adds a scroll bar to the window. I want the window to appear over the content that is already there, so that scrolling is not needed.

Thanks in advance,
Nisarg
Nisarg
Top achievements
Rank 1
 answered on 26 Dec 2014
5 answers
252 views
Dear All;
We are using the grouping property of Scheduler. It is really useful. We show our all technic employees in vertical grouping. 
We want to show all days of month in a line like timeline view.
It is possible?
ziyahan
Top achievements
Rank 1
 answered on 26 Dec 2014
1 answer
150 views
Currently I'm using a callback like below to add a datetimepicker to my column which does not seem to work in combination with persistence:

col.filterable = {
    ui: function(el) {
        el.kendoDateTimePicker({
            format:     'dd/MM/yy - HH:mm:ss',
            timeFormat: 'HH:mm:ss'
        });
    }
}

How can I set the format and timeFormat options when using:

col.filterable = {
    ui: 'datetimepicker'
}
Petur Subev
Telerik team
 answered on 25 Dec 2014
4 answers
516 views

I did hit a bit of an oddity around the binding today, can anyone lend any light on the subject:

Say I have a column defined like this:
{
    field:'ID',
    title:'',
    template: kendo.template($('#id').html()),
    editor: kendo.template($('#id_Editor').html())
 }

And the templates like this:

<script id="id" type="text/x-kendo-template">
      <span data-bind="text: ID"></span>
</script>
 
<script id="id_Editor" type="text/x-kendo-template">
      <span data-bind="text: ID"></span>
</script>

When I initialise the grid like this ...

var model = someModel();
$("#grid").kendoGrid({ source: model });
 
<div id="grid" data-role="grid"
             ...
             data-columns="[ ..., { command: ['edit', 'destroy'] }]">
 </div>


... for some odd reason when I load the grid all looks good, then I hit the edit button in a row the cell goes blank.

Any ideas why the same template results in 2 different results?



Alexander Valchev
Telerik team
 answered on 25 Dec 2014
2 answers
156 views
​When creating tabs within TabStrip, I can pass in an array of objects with Tab information to $el.kendoTapStrip().data('KendoTabStrip').append() function, and it works fine.

But if the tab information is in a kendo.data.ObservableArray (which all arrays within a kendo.observable object get transformed to), then it fails the "array check" within the _create function of Kendo, and consequently tries to get evaluated as a DOM element.

In 2014.4.1119 the line currently is "if (plain || $.isArray(tab)) {", maybe could be expanded to include this counterpart to read:  "if (plain || $.isArray(tab) || tab instanceof kendo.data.ObservableArray) {", or something to that nature.

Thanks!
Alex Gyoshev
Telerik team
 answered on 25 Dec 2014
1 answer
248 views

I have an application that requires that I upload the file, then if successful, send data to the database.  I cannot find a way to trigger the upload in kendoUpload.  The form I'm using does other things besides uploading the file, so I need to:

1. check to see if there is a file in the upload control (how is that achieved in IE9?)
2. if there is, upload the file to the server (how is that triggered?), and then
3. return the status to the user

Is there a demo where this type of operation happens so I can see how it is done?

Thanks!
Eddie

Software
Top achievements
Rank 1
 answered on 24 Dec 2014
6 answers
247 views
Hi,

Is there any work around for kendochart to plot with category axis prefix for min 9AM to 5PM, baseunit as seconds?
It took more than half a minutes to render to chart.

I am using multi pane. One pane for price and the other pane for volume.

Please advise.

Regards,
T. Tsonev
Telerik team
 answered on 24 Dec 2014
1 answer
553 views
Hallo,

I have a problem with the window on the iPad(IOS 8.1.2), when I open a window that is automaticaly maximized there is some free space to the right(around 10% of the screen).
This also happends when I manual try to maximize the window.

It is tested with latest version of kendo ui web (from the ui professional).

Window options:
width: "800px",
height: "600px",
draggable: true,
actions: ["Maximize", "Close"],
resizable: true,
title: fileModel.name,
content: editorModel.url

How I use it to get it maximized 
kendoWindow.center().toFront().maximize();


Dimo
Telerik team
 answered on 24 Dec 2014
1 answer
130 views
Hello,

Following the example (http://demos.telerik.com/kendo-ui/grid/aggregates), I am trying to display a grid with multiple groups and aggregates. However, the aggregates are incorrectly calculated. Is it a wrong configuration of the grid/datasource or is there an issue in this?

Please look at the Group B section of my example : http://dojo.telerik.com/eMaLe
The second row of aggregate should have a count of 3, a sum of 127 and an average of 5.

Thanks
Alexander Popov
Telerik team
 answered on 24 Dec 2014
1 answer
262 views
See below mobile client for an example of the following issue:
 
If the server is up and running and allowing anonymous access, the results display properly once app is loaded.  If I click the "Load Test" button, the read function is called again.  This works as I would expect.  

If I stop the server or I require authorization on the server's method, I get the HTTP error (404 or 401, respectively) I expect.  However, when I click the "Load Test" button after the HTTP error occurs, the read function is not called.  I would expect another GET request to be sent to the server, but this is not happening.  In fact, the alert in the read function is not even called.

Is this a bug or should I be doing some kind of error handling on the client side to avoid this problem?

Thanks,
Dan

****index.html****
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
    <link href="kendo/styles/kendo.mobile.all.min.css" rel="stylesheet" />
    <script src="cordova.js"></script>
    <script src="kendo/js/jquery.min.js"></script>
    <script src="kendo/js/kendo.mobile.min.js"></script>
    <script src="scripts/app.js"></script>
    <script src="scripts/sitesViewModel.js"></script>
</head>
<body style="font-size:.85em;">
    <div id="siteList" data-model="sitesViewModel" data-role="view" data-layout="default" data-before-show="sitesViewModel.beforeShow">
        <a data-role="button" data-bind="events: { click: onLoad }">Load Test</a>
        <ul id="siteListView" data-role="listview" data-endlessscroll="true" data-bind="source: sitesSource" data-pull-to-refresh="true" data-template="siteList-template"></ul>

    </div>
    <script type="text/x-kendo-template" id="siteList-template">
        <span id="siteListItem" hidden>#=data.SandbagSiteID#</span>
        <div style="font-size:.85em;">
            #: SiteName # - #: City #
        </div>
    </script>
</body>
</html>

****app.js****
var app = new kendo.mobile.Application($(document.body), {
    initial: "siteList",
    platform: "ios7"
});
var uri = 'http://localhost:55221/';

****sitesViewModel****
var sitesViewModel = kendo.observable({
    sitesSource: new kendo.data.DataSource({
        async: false,
        autoSync: true,
        transport: {
            read: function (options) {
                alert('read called!');
                $.ajax({
                    dataType: 'json',
                    url: uri + 'api/sandbags',
                    success: function (data) {
                        options.success(data);
                    },
                    error: function (jqXHR, textStatus, errorThrown) {
                        alert(textStatus);
                    }
                })
            },
            update: function (options) {
                $.ajax({
                    contentType: "application/json",
                    type: "PUT",
                    dataType: "json",
                    url: uri + 'api/sandbags/' + options.data.SandbagSiteID,
                    data: JSON.stringify(options.data)
                })
                .done(function (data) {
                });
            }
        },
        schema: {
            model: {
                id: "SandbagSiteID",
                fields: {
                    SandbagSiteID: { type: "number", editable: false, nullable: false, defaultValue: 0 }
                }
            }
        }
    }),
    onLoad: function (e) {
        sitesViewModel.sitesSource.read();
    }
});











Alex Gyoshev
Telerik team
 answered on 24 Dec 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
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?