Telerik Forums
Kendo UI for jQuery Forum
6 answers
161 views
I've got an issue with an area chart where by its not filling 100%, when it should.

See the chart below… 
I've blocked out the legend for client reasons.
The obvious one is to the right, but there are smaller areas that don’t fill 100%.




Along each point of the categoryAxis, the value in the series sum to 100% (I have checked in the data, I am totally sure of this).

I think what might be the problem is that along each point, there is not always the same number of items in the series (items in the legend - not sure of the terminology!).
Jul-08 may have 10 values.
Sep-12 may have 8 values.
Although they all sum to 100%.

I'm wondering if kendo is taking the number of data fields in the first category point and using that to calculate the rendering.

I have tried to use the same data with highchart, the result is really what I would expect to see.  Some white gaps for missing data, but all going to 100%.





Is there a setting or something that I am missing in kendo to achieve this?










T. Tsonev
Telerik team
 answered on 10 Mar 2014
1 answer
135 views
Although I am using AngularJS with the kendo-angular - I am trying to use the Grid, I want to bind the grid to an array, I read that if I am providing array as dataSource it will automatically convert it to dataSource, am I am loosing the direct binding? cause I want to change the array content and automatically the grid will be updated.

When I am trying to use array and not kendo-datasource i am getting exception

TypeError: Unable to get property 'create' of undefined or null reference
   at toDataSource (http://localhost:64968/Client/lib/angular/angular-kendo.js:16:9)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular-kendo.js:32:13)
   at $digest (http://localhost:64968/Client/lib/angular/angular.js:11501:21)
   at $apply (http://localhost:64968/Client/lib/angular/angular.js:11740:13)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular.js:13265:25)
   at completeOutstandingRequest (http://localhost:64968/Client/lib/angular/angular.js:4021:7)
   at Anonymous function (http://localhost:64968/Client/lib/angular/angular.js:4327:7) 
Petur Subev
Telerik team
 answered on 10 Mar 2014
1 answer
268 views
For some reason my kendoComboBox, with server side filtering, is hitting my MVC controller twice, the first time with no data. Any idea why this is happening? 

Also another note, I do not need all the fancy filter criteria that is sent by kendo, I send a term, and perform an OR search across address fields. 


$('#ELEMENT').width(700).kendoComboBox({
dataSource: addressDS,
dataTextField: "NAME",
dataValueField: "ID"
});


var addressDS = new kendo.data.DataSource({
        schema: {
            model: {
                id: "ID",
                fields: {
                    ID: {type: "number"},
                    NAME: {type: "string"},
                    ADDRESS1: {type: "string"},
                    CITY: {type: "string"},
                    STATE: {type: "string"},
                    ZIP: {type: "string"},
                    COUNTRY: {type: "string"},
                    
                }
            },
            data: function(data) {
                return data.Results;
            },
            total: function(data) {
                return data.ResultCount;
            }
            
        },
        transport: {
            read: {
                type: 'json',
                url: '/Address/Autocomplete'
            },
            parameterMap: function(data, type) {
                return {
                    term: $('#ELEMENT').val()
                };
            }
        },
        serverFiltering: true
    });
Georgi Krustev
Telerik team
 answered on 10 Mar 2014
4 answers
214 views
Hi,

Since the latest version the app.pane.history became obsolete? (Only contains one item).
Is there any way to know the amount of items in the history now?



Dorian
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
98 views
See this page:

http://162.243.119.49/FAQ/test1.php

Notice how the pagination section at the bottom the layout is all over the place. Im not using any other css files and it seems to be finding the css files fine. Is there something small im missing that would explain the messed up layout. Also if you compare it to the examples on the demo my rows also seem to be much bigger too.

Any help appreciated
Dimo
Telerik team
 answered on 10 Mar 2014
3 answers
171 views
Hello,

I would like to create a line chart with a visible crosshair and an event handler for plotAreaClick. The event handler is needed to process the data point category (event data: e.category). The event is not fired if the mouse pointer touches the crosshair.

Is there a similar event for clicking the crosshair which provides the category – or any other solution for this problem?
Hristo Germanov
Telerik team
 answered on 10 Mar 2014
3 answers
227 views
Hi,
I have a simple grid and I'm using the script shown in the documentation.
var grid = $("#grid").data("kendoGrid");
grid.select("tr:eq(1), tr:eq(2)");
In my code, I have this in my grid's options:
dataBound: function (e){
                                      console.log(e.sender);
                                      if (e.sender.dataSource && e.sender.dataSource.data().length>4){
                                        this.select("tr:eq(1)");
                                      }
It gives me an error:
TypeError: Object [object Object] has no method 'selected'
What am I missing?
Thanks
Dimiter Madjarov
Telerik team
 answered on 10 Mar 2014
4 answers
364 views
Using MVC I have a Grid which support column ordering, filtering etc.

Once a user has customized their grid to the way they like it, is there a way to save those customization into perhaps a cookie so that when the form comes up again, they are kept?

Andrew
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
182 views
I use my panel bar like this:

var div = $('#test-accordion');
 
div.kendoPanelBar(
{
 expandMode: "single"
});


When I open the first item programmatically like this:

var use_animation = false;
 
var li = div.find('li.k-item:first');
 
div.data('kendoPanelBar').expand(li, use_animation).select(li);

I find that the panel bar has multiple items expanded, so panelbar does not respect the expandMode.

A bug?

When I try to close all items like this:

div.data('kendoPanelBar').collapse("*", use_animation);

nothing happens.


Alexander Popov
Telerik team
 answered on 10 Mar 2014
1 answer
368 views
Hi

I want to make a room booking system with ASP.NET using the Kendo UI Scheduler (I was told this is completely free and open source to use. Is it?) 

Users will have to be able to make reservations to rooms in their company for meetings/workshops/... Eventually it has to look like this:  http://i.imgur.com/ZjrPEg0.jpg

Is it possible using the Kendo UI scheduler and transform this into my scheduler, using different rooms for making bookings by date and hour? 
If so can anybody give me a good start on how to accomplish this? 

Thanks in advance!
Vladimir Iliev
Telerik team
 answered on 10 Mar 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
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
DropDownTree
ListBox
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?