Telerik Forums
Kendo UI for jQuery Forum
1 answer
103 views
When I edit a cell in my grid, a zero ("0") is placed in the cell, overlapping the cell value. This zero does not show when the grid loads, and it does not save to the database when the update happens. If I navigate away and come back, the zero is gone. It only happens if I edit the cell; if I only click in the cell and initiate the inline editing, no zero appears. 
My page is an SPA.
Attached is a zoomed in screenshot showing the phantom zero.
This is the code that builds the grid:

    function fnLoadStorageVaults(storageid) {

        var ds = new kendo.data.DataSource({
            transport: {
                read: {
                    url: URL_GETVAULTS,
                    dataType: "json",
                    type: "GET",
                    data: { StorageID: storageid }
                },
                update: { dataType: "json", url: URL_UPDATEVAULTS, type: "POST" },
                destroy: { url: URL_DELETEVAULT, type: "POST" },
                create: { url: URL_INSERTVAULT, type: "POST" },
                parameterMap: function (data, type) {
                    return kendo.stringify(data);
                }
            },
            autoSync: true,
            schema: {
                model: { 
                    id: "StorageVaultID",
                    fields: {
                        VaultNumber: { type: "string", editable: true },
                        Section: { type: "string", editable: true },
                        Row: { type: "string", editable: true },
                        DateFrom: { type: "date", editable: true },
                        DateTo: { type: "date", editable: true },
                        WarehouseID: { type: "number", editable: true }
                    }
                }
            }
        });
        
        $("#VaultGrid").kendoGrid({
            dataSource: ds
            , sortable: true
            , editable: true
            , navigable: true
            , columns: [
                { field: "WarehouseID", title: "Warehouse", width: "60px" }
                ,{ field: "VaultNumber", title: "Vault Nbr.", width: "60px" }
                , { field: "Section", title: "Section" }
                , { field: "Row", title: "Row" }
                , { field: "DateFrom", title: "Date In" }
                , { field: "DateTo", title: "Date Out" }
            ]
        });

    }
Robert
Top achievements
Rank 1
 answered on 29 Jul 2013
10 answers
591 views
Hello,

Is it possible to highlight a specific point on a line or area chart. For example, if I have a graph showing the number of sandwiches sold each day in a cafe and on the 10th day of the month they raise the price by 5% can I add a marker to the 10th so show that an event happened on that day?

Thanks

Ric

Josh
Top achievements
Rank 1
 answered on 29 Jul 2013
2 answers
753 views
How can I add  Filter to Chart Data source.  I want to build chart that show data for each week in a giving year. The use user will pick date from drop down and the chchart  will get refreshed with new data 
Iliana Dyankova
Telerik team
 answered on 29 Jul 2013
1 answer
217 views
I have a chart with multiple data series and multiple axis similar to http://demos.kendoui.com/dataviz/bar-charts/multiple-axes.html
I want a way to give the user a clue which axis is related to which data series, so I've tried applying colors that visually tie them together. However this approach doesn't work too well with themes (try setting the demo to Black - you can hardly see one of the axes).

So what I'm thinking now is to visually highlight the axis when the user hovers over the data series and/or legend. Similar to the way that hovering over the legend highlights the associated data series. 

Could anyone give me a clue how to do this highlighting? or even any alternative ideas

Iliana Dyankova
Telerik team
 answered on 29 Jul 2013
3 answers
216 views
I'm working on a mobile app were some of the data requests will be cached in localStorage on the device. Depending on the data, I'd like to assign a timeout value for it that would flush the existing value and make new network request. I'm assuming I'll need to set timestamps into localStorage, check them when the data is requested and if its expired, execute a read() on the object to refresh the data.

Would that be a plausible solution or are there features of the framework that I've overlooked for this type of thing?

Petur Subev
Telerik team
 answered on 29 Jul 2013
5 answers
105 views
Hi

I have an application which uses WCF Data Services OData service and works under Kendo UI 2013.1.319 with following syntax:
var clientsDataSource = new kendo.data.DataSource({
    type: "odata",
    serverFiltering: true,
    serverSorting: true,
    transport: {
        read: {
            url: '@Url.Content("~/Services/DataService.svc/ActiveClients")',
            headers: {
                DataServiceVersion: "2.0",
                MaxDataServiceVersion: "2.0"
            },
        },
 
    },
    schema: {
        model: {
            id: "RecId",
            fields: {
                DateStarted: { type: "date" },
                Exported: { type: "boolean" },
            }
        }
    },
    filter: { field: "Inactive", operator: "eq", value: inactiveFilter },
    sort: { field: "CustomerName", dir: "asc" },
});
But as soon as I switched to new version of Kendo UI (2013.2.716) they stopped working.
Could you let me know what has been changed in new version of DataSource for supporting oData services and how should I modify my DataSource definition to work with new version of Kendo UI?

Thanks
Ron Farko
Sebastian
Telerik team
 answered on 29 Jul 2013
3 answers
258 views
So im having some difficulty binding multiple stacks via ajax to the grouped stacked bar chart.  Hard coding the values the way you did in the demo works fine.  However I am unable to replicate the results using ajax binding.  I can do the grouped stacked bar chart with one stack, but having multiple stacks per category is eluding me.  Do you have an example where that is done through ajax binding instead of specifying the int[] in the view?  I can format the data in anyway that needs to be done.  You can even use the demo data as an example just need to know how it would be loaded through the ajax binding using the mvc helpers not through creating the chart via script.
so 
series
     .Column(m => m.Value).Stack(true);  but how to get this for multiple stacks per category...
Iliana Dyankova
Telerik team
 answered on 29 Jul 2013
1 answer
149 views
Hi,

I have encountered a very strange behaviour demonstrated by the following code sample:

<!DOCTYPE HTML>
<html>
<head>
    <title></title>
    <meta charset="UTF-8" />
    <script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
    <link href="styles/kendo.mobile.all.min.css" rel="stylesheet" />
</head>
 
<body>
    <div data-role="view" data-layout="layout_home" id="home">
        <a data-role="button" href="#lernen_auswahl">Lernen</a>
    </div>
 
    <div data-role="view" data-layout="layout_default" id="lernen_auswahl">
        <a data-role="button" href="#lernen1" data-transition="fade">Los 2</a>
    </div>
 
    <div data-role="view" data-layout="layout_lernen" id="lernen1" data-stretch="true">
        Foo!
    </div>
     
    <div data-role="layout" data-id="layout_home">
    </div>
 
    <div data-role="layout" data-id="layout_lernen">
        <div data-role="footer">
            <div data-role="navbar">
                <p data-align="right">
                    <a data-role="button" href="#home">
                        Home
                    </a>
                </p>
            </div>
        </div>
    </div>
     
    <div data-role="layout" data-id="layout_default">
        <div data-role="footer">
            <div data-role="navbar">
                <p data-align="right">
                    <a data-role="button" href="#home">
                        Home
                    </a>
                </p>
            </div>
        </div>
    </div>
     
    <script src="js/jquery.min.js"></script>
    <script src="js/kendo.mobile.min.js"></script>
 
    <script>
        var app = new kendo.mobile.Application($(document.body), { transition: "slide" });
    </script>
</body>
 
</html>
If you press the buttons 'Lernen', 'Los 2', go Home via the button in the footer, and press 'Lernen', 'Los 2' again, the footer vanishes and there is only a black strip where the footer is supposed to be.

This can be prevented by either using a different transition than 'fade', which is not an option in my case, or by not setting the default transition in the app initalization.

As you can see in the code snippet, I am using Phonegap (for Android). My Kendo UI version is 2013.2.716.

Looking forward to your reply
Alex
Kiril Nikolov
Telerik team
 answered on 29 Jul 2013
12 answers
155 views
Hello,

After upgrading from 2013.1 from 2012.3, when I bind a source to a drop down list, there is not a selected item in the list anymore.  I created two js fiddles which show this.

This first one is using 2012.3, note that the drop down list has Item1 selected by default:
http://jsfiddle.net/m4LPB/2/

This one is using 2013.1, note that the drop down list does NOT have an item selected:
http://jsfiddle.net/2FHsV/1/

Also, it appears that 2013.1 ignores anything I add to a data-index attribute on the select tag, where it should set the default item.

Thanks
Georgi Krustev
Telerik team
 answered on 29 Jul 2013
1 answer
143 views
I'm new to Kendo UI and am trailing it with ASP.NET MVC Wrappers at the moment.  I've made fairly good progress.  I've created a group of 6 Dropdown list boxes, all of which update with server side filtering connecting to a MySQL database.

My question is if I wanted to design this sort of website for both web and mobile usage, how should I go about using the same code but for mobile viewing ?  Are there any recommendations ?
Kiril Nikolov
Telerik team
 answered on 29 Jul 2013
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
Drag and Drop
Application
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?