Telerik Forums
Kendo UI for jQuery Forum
2 answers
201 views

Hi, I have a simple mobile site with a splitview and a main view. The split view has a list of categories and the main view displays a number of charts using d3.js.

The functionality works fine, but it is very slow when selecting a new category in the split view. Looking at a profile in chrome developer tools shows that 80% of the time is spent removing the children in the svg/g nodes of the d3 charts. Obviously there are a lot of these children as the charts have a lot of points and it seems that each one traverses the history list via a kendo observer pattern.

Is there a way to speed this up? Can I use a bit of java-script before the navigation happens to destroy the d3 svg elements without triggering all of the expensive kendo calls?

 

Thanks,

Ian

Petyo
Telerik team
 answered on 23 Jul 2015
4 answers
278 views

Hi,

 In my project I need to dynamically zoom in or out on a region or country.

e.g. I select a country or some countries of a region, and it gets a close-up of that country or region.

And when I deselect the countries, it zooms out. (Preferably animated).

I was wondering if you could let me know if Kendo GeoJSON Map has this functionality.

Thanks

Negin
Top achievements
Rank 1
 answered on 22 Jul 2015
6 answers
685 views
Hello, I am able to configure and use grid validation successfully. 
However, I was wondering if there's any way to programatically check if the entire grid is valid or not.
Brady
Top achievements
Rank 1
 answered on 22 Jul 2015
6 answers
2.5K+ views
I have a dropdownlist with an option label and a number of items. When I use list.dataItem() it seems to return the next index, not the currently selected index.

This problem seems only to occur when an optionLabel is used and can be reproduced in the cascading drop down list demo in the following way.

Place a break point at the bottom of the categories change function:

$("#categories").kendoDropDownList({
    optionLabel: "Select category...",
    dataTextField: "CategoryName",
    dataValueField: "CategoryID",
    dataSource: {
        type: "odata",
        serverFiltering: true,
        transport: {
            read: "http://demos.kendoui.com/service/Northwind.svc/Categories"
        }
    },
    change: function () {
        var value = this.value();
        if (value) {
            productsDataSource.filter({
                field: "CategoryID",
                operator: "eq",
                value: parseInt(value)
            });
            products.enable();
        } else {
            products.enable(false);
        }
        products.select(0);
        orders.select(0);
        orders.enable(false); <--- BREAK HERE
    }
}); 

Then select an item in the categories drop down, such as, confections. When the break point is hit, add a watch to $('#categories').data('kendoDropDownList').dataItem();

It is expected that the dataItem will be confections, but it is actually Diary Products.

Thanks
Plamen Lazarov
Telerik team
 answered on 22 Jul 2015
1 answer
94 views

We have set up a simple line chart to show temperatures. It looks OK in the browser. When it is exported as an image, the degree signs are changed to the character code. See the attached image. Can anyone help with fixing this?

Thanks in advance,

 

Rob

 

 

 

Iliana Dyankova
Telerik team
 answered on 22 Jul 2015
1 answer
104 views

I have a weird problem with the grid columns name when I use frozen columns. 

For example I have : column 1, column​ 2, column​ 3, column​4 and column 5 :

If I set the column 3 and column 5 to be frozen, the grid will have in the "k-grid-content-locked" the right content for column 3 and column 5. 

 In "k-grid-header-locked" I do NOT have the right columns name, I now have column 3 and column 1.  ( the problem is only for the name, the content of the grid has the right data displayed ) 

And for the unfrozen part, the content is displayed correctly, but where should be column 1, I now have column 5 .

 

Any help or idea will be appreciated.

Thank you!

 

 

 

 

Nikolay Rusev
Telerik team
 answered on 22 Jul 2015
1 answer
205 views

Hello,

I am currently using a grid with virtual scrolling feature and I would like to add a line to the bottom of the grid. My problem is that even using GridInsertRowPosition.Bottom the line gets added at the bottom of the current "virtual" page. Also, after the lines gets added if I keep scrolling it exits edit mode and my grid will keep an empty line. 

Does anyone know a workaround for this? Even disabling scrolling on the grid during edition will be fine for me as long as the line gets added at the bottom.

 

Thanks in advance,

Marcos

Konstantin Dikov
Telerik team
 answered on 22 Jul 2015
1 answer
373 views

Hi,

I have a problem with the behaviour of kendo components in face of a back button action.
Currently I have a page that changes a lot according with the user's choice (visibility of inputs and panels, values of inputs and result on grids). However, if the user navigate to another page and press back button on the browser, all these changes will be lost.

My question is, if there is a generic solution provided by Telerik for situations like this.

Thank you in advance.

 

 

Peter

Pavlina
Telerik team
 answered on 22 Jul 2015
4 answers
313 views

For some reason the element that displays the down arrow on the kendo dropdownlist always has the inner text set to "select" so the letters "se" appear hovering over that dropdown button arrow. I'm not sure why this is happening, but the quickest and most global way for me was to get rid of it was to override the element's css and set the text color to transparant like so:

 

.k-dropdown-wrap > .k-select > span {
        color:transparent;
    }

 

Is there somewhere else that I can just remove the "select" inner text of this element? It really shouldn't be there.

 

I'm on the latest kendo ui.

 

Thanks,

Michael

 

 

Dirk
Top achievements
Rank 1
 answered on 22 Jul 2015
9 answers
948 views
My grid configuration does not have "height" property. Which works great as it expands to the right height based on the number of records. 
However, while the data is being loaded, the grid shows only column headers and empty pagination bar with "no items to show" indicator. The loading indicator (spinner) is not visible as the height of the "k-grid-content" is zero. 
Is there any way to show the spinner while the grid data is loading? Maybe we can attach it to "k-grid k-widget" element? But how can I get handle of the events when data source starts and ends the data loading?
Thanks,
-Pavel
Dimo
Telerik team
 answered on 22 Jul 2015
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?