Telerik Forums
Kendo UI for jQuery Forum
2 answers
270 views
Hi. I'm currently working on styling my charts for a web application I'm building, but I'm running into some issues with styling the charts.

As an example of what I would like my charts to look like, please take a look at the attached file:  chart-large.gif

I'm styling it so that the grid lines are transparent, and basically everything but the area is not visible. 

As an example of what I've got it looking like now, almost to were we want it: screen-shot.png

And a diagram of what we are hoping to change it to look like: desired.gif

So my questions is this: how do I get the plots to move from in between the grid lines (that are currently not visible) and stretched to both ends of the chart?

Is this not possible? Is there any way to hack it to achieve what I'm looking for?

Thanks in advance for any input. It will be most helpful.
Iliana Dyankova
Telerik team
 answered on 18 Oct 2012
0 answers
114 views
HTML5
<section id="leftcontainer"></section>
<section id="maincontainer"  ></section>

I am loading one kendo window in leftcontainer and four kendo windows in maincontainer.
Now i want to close or destroy the windows, which in maincontainer and retain leftcontainer
Same time i am not aware of windows name because all windows are creating during runtime but i have maincontainer reference

Please advise me how to proceed this.

Prakash
Top achievements
Rank 1
 asked on 18 Oct 2012
6 answers
194 views
Hi,
I am testing Kendo UI Mobile on different devices and I have a problem with text input on android 4 devices when using native browser.
For example, when entering text in input text box if I click smiley on keyboard or select suggested text, only first letter is written to text box. If textarea is used instead of input text box everything works OK.
This problem is detected in Android native browser only and on multiple devices (Acer Iconia a500, Galaxy Tab ...). If I test this in other browser (ex. Google Chrome) text input works normally.

For testing I have used simple Kendo mobile application with one view and input text box as view content.

NOTE: I couldn't figure out if this is a browser's bug or has something to do with Kendo styling or events attached to elements but text input works normally if I don't initialize Kendo application or if I remove styles from body (.km-pane and .km-vertical) using jQuery removeClass.

Best regards,
Ivan
N Mackay
Top achievements
Rank 1
 answered on 18 Oct 2012
1 answer
374 views
Hi,
I'd just like to know, what would be the best way to aggregate a columns sum, where the column type is string. So the items would be "10", "20", "30".

Many thanks,
Hermann
hermann
Top achievements
Rank 1
 answered on 18 Oct 2012
1 answer
115 views
I am using the following JavaScript to append a child node to the selected node:

        var nodeText = prompt("Please enter a description", "");
        if (nodeText != null && nodeText != "")
        {
            var treeView = $('#catalogTreeView').data('kendoTreeView');
            var selectedNode = treeView.select();
            treeView.append( { text: nodeText }, $(selectedNode));
        }

The first attempt results in an exception thrown in kendo.web.min.js at:

return this.insert(this._data.length,a) (_data is undefined)

However, if I immediately attempt to add the child node again, it appends without any errors.

The nodes for this TreeView are loaded using an MVC DataSource.  However, I would like my users to be able to append nodes manually.
Alex Gyoshev
Telerik team
 answered on 18 Oct 2012
10 answers
2.5K+ views
Is there any sort of a provision for this in the grid? (similar to here : http://www.telerik.com/help/aspnet/grid/grdnorecordstemplate.html)
atul
Top achievements
Rank 1
 answered on 18 Oct 2012
0 answers
130 views
I'm not sure if this is possible. I'm quite new to Kendo UI and so I would like to ask:

Is it possible to force the validator to "put" a default text and style (css class) to the "k-invalid-msg" should the input PASS the validation? Let's say I have an asterisk * for required fields. Should user try to submit an empty form, these asterisks will be replaced by a "required" message. However if the user submits that form again and required fields are filled out I would like to get those asterisks back. It would be lovely if I could manipulate css classes for those cases, like: .warning, .info, .error, .notice, etc...

Thanks for any suggestions.
Ex
Top achievements
Rank 1
 asked on 18 Oct 2012
0 answers
191 views
I am attempting to add a "click" handler to a button (actually an anchor tag with data-role="button" attribute) that also has an 'href' attribute specified.  Essentially, I want to specify which view the button should link to in the HTML, but run some code prior to switching.

Unfortunately, the navigation appears to cancel out the click handler, so my click event doesn't fire.  I verified that I had the click event wired up properly by removing the 'href' attribute, and everything works as expected (except the view doesn't change), then when I add the 'href' attribute back in, the click event stops firing.

Any ideas?
Jeremy
Top achievements
Rank 1
 asked on 18 Oct 2012
0 answers
332 views
I am attempting to add a "click" handler to a button (actually an anchor tag with data-role="button" attribute) that also has an 'href' attribute specified.  Essentially, I want to specify which view the button should link to in the HTML, but run some code prior to switching.

Unfortunately, the navigation appears to cancel out the click handler, so my click event does not fire.  I verified that I had the click event wired up properly by removing the 'href' attribute, and everything works as expected (except the view doesn't change), then when I add the 'href' attribute back in, the click event stops firing.

I hope that makes sense!  Any ideas?
Jeremy
Top achievements
Rank 1
 asked on 18 Oct 2012
1 answer
231 views
I've defined a combobox this way:
$(document).ready(function () {
        cboSite = $("#SiteId").kendoComboBox({
            minLength: 2,
            suggest: true,
            autoBind: false,
            dataTextField: "text",
            dataValueField: "value",
            dataSource: {
                serverFiltering: true,
                serverPaging: true,
                datatype: 'json',
                transport: {
                    read: {
                        url: '@Url.Action("GetSites", "Equipment", new { area = "Equipment" })',
                        data: {
                            q: function () {
                                return cboSite.text();
                            }
                        }
                    }
                }
                ,
                schema: {
                    data: function (data) {
                        return data.result;
                    }
                }
            }
        }).data("kendoComboBox");
    });

But I have two problems:
- if the data returned by GetSites is empty, this GetSites method is then called endlessly (I see that in firebug, it's like an infinite loop)
- if I return data filtered by the text typed by the user, then the GetSites method is never called again when he types something else

Thanks in advance

Keith Engelhardt
Top achievements
Rank 1
 answered on 17 Oct 2012
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?