Telerik Forums
Kendo UI for jQuery Forum
4 answers
223 views
A grid filter is defined in FilterMenu does not support customization as it always uses a hardcoded template.
More than that, the template contains an english text:
 
'<select name="logic" class="k-filter-and">'+
 '<option value="and">And</option>'+
 '<option value="or">Or</option>'+
 '</select>'+
 
This complicates localization.
 I suggest to:
 1. Localize text.
 2. Allow to provide a custom template.
Alexander Valchev
Telerik team
 answered on 31 Jul 2014
3 answers
283 views
Hello,

We have multiple charts dynamically added to the page which are vertically stacked. We have a problem with the alignment of the charts - see attached image. The alignment issue is due to the varied character length of the categories displayed in the category axis.

One workaround we've tried to implement is to truncate the category text. This almost works but the graphs are still slightly out of line; we also need to have a tooltip displayed when the users hover their cursor above the category axis labels.

1) How may we add a tooltip for the the category axis labels?
2) Can you suggest how we may align the charts more accurately?


Kendo version: Kendo 2014 Q1.

Many thanks,

Andy


Iliana Dyankova
Telerik team
 answered on 31 Jul 2014
3 answers
808 views
Hi, I'm trying to have the numeric textbox display with a red border if invalid value.  The below styling is setting the border red on some hidden textbox and not the wrapper.  Any ideas? Hacks? Work-arounds?

input.input-validation-error {
 border: thin solid red !important; /*!important forces override of borders set on kendo controls*/
}
Iliana Dyankova
Telerik team
 answered on 31 Jul 2014
1 answer
222 views
I'm having trouble adding a second datepicker to any screen.  It looks fine & works in Chrome, Firefox, or IE outside of compatibility mode.  However, in IE 10 in compatibility mode, the second datepicker becomes a text box.  It looses its style and doesn't have the calendar selector button.  The error that I get is "Unhandled exception at line 3, column 23238 in http://localhost:60914/Scripts/kendo/2013.1.514/jquery.min.js".

I can reproduce the issue with the .cshtml code in the demo - http://demos.telerik.com/aspnet-mvc/datepicker/rangeselection.

My layout page contain the following references.
<link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.blueopal.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.dataviz.blueopal.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.rtl.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/Skynet.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/kendo/2013.1.514/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery-migrate-1.2.0.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2013.1.514/kendo.all.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2013.1.514/kendo.aspnetmvc.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.modernizr.custom.js")"></script>
Georgi Krustev
Telerik team
 answered on 31 Jul 2014
8 answers
1.5K+ views
I've tried a few ways of approaching this, but in every case I get weird results. Here's a fiddle that demos a couple of them:

http://jsfiddle.net/GSpjW/2/

In both test cases, the rounding is in error. I'd like to be able to turn off rounding entirely, for any length of input. Is this possible?
Georgi Krustev
Telerik team
 answered on 31 Jul 2014
4 answers
279 views
Hi,
We are looking at the new PivotGrid in order to display hierarchical data that has values that need to be aggregated when collapsed and the PivotGrid seems to do exactly what we want, but I am trying to get this to work for local data rather then from an xmla service.

The problem I am having is in defining the hierarchy structure in my rows such that it will expand to multiple levels.

Do you have any examples of using local data and defining a row hierarchy? This is not adding multiple fields to the rows, just having a single field and the underlying object has child element.
Georgi Krustev
Telerik team
 answered on 31 Jul 2014
3 answers
232 views
I'm trying to add the new filter row to my grids. I'm using the MVC wrappers and ajax data sources.
The filter row displays fine. However, when I enter a value in one of the filters, all the other filters in the row also get this value (see screen snippet), and no filtering actually happens (no data source request).

In the page source I can see that all filter inputs have a MVVM value data binding to the same property. This may explain why they all get the same value when one of them changes, although this does not seem to be a problem in the online demo's.
My application is a single page application and I use MVVM on most pages. The grids are not in the scope of an MVVM binding though.

Does somebody have an idea in which direction I should be looking for a solution?
Alexander Popov
Telerik team
 answered on 31 Jul 2014
3 answers
900 views
Hello,
I have a button (id = deleteButton) declared in a template as shown in code below. It doesn't invoke the function deleteProduct on click event. 

Thanks for your time and help.

<script id="template" type="text/x-kendo-template">
      <ul id="invitationsPanelBar">
        # for (var i = 0; i < data.length; i++) { #
            <li id="1">#= data[i].userName #<button style="position:absolute;right:30px; type="button" id="deleteButton" data-bind="click: deleteProduct"><span class="k-icon k-i-close"></span></button>
                                 
<ul>
                        # for (var j = 0; j < data[i].invitationsList.length; j++) { #
                            <li><span>
                                        <a href="resultsContainer.html">#= data[i].invitationsList[j].userStarName #</a>
                                        #if (data[i].invitationsList[j].status === "New") {#
                                            <span style="position:absolute;right:30px;color:\#85b2cb;">New</span>
                                        #}#
                                    </span>
                            </li>
                        #}#
                    </ul>
            </li>
        # } #
       </ul>
         
         
    </script>
 $(document).ready(function() {
    var viewModel = kendo.observable({
                         
                        deleteProduct: function(e) {
                            console.log("deleteProduct");
                            var pbar = $("#invitationsPanelBar").data("kendoPanelBar");
                            pbar.remove($(e.currentTarget).closest("li"));
                           // pbar.remove("#1")
                        }
                        
                         
                    });
                    kendo.bind($("#deleteButton"), viewModel);
}


Petyo
Telerik team
 answered on 31 Jul 2014
5 answers
218 views
in 13Q3, it was possible to write HTML/SVG into the field which holds the label and to yield

<text id="k10835" data-model-id="k10836" x="59" y="36" fill-opacity="1" style="font: 12px Arial,Helvetica,sans-serif; " fill="#232323">
<tspan class='seriesLabel' >the label</tspan>
</text>

i.e. wrap the content with a tspan and a class which can label be used for CSS selector

but now, it is rendered with a quotation mark:

<text id="k10835" data-model-id="k10836" x="59" y="36" fill-opacity="1" style="font: 12px Arial,Helvetica,sans-serif; " fill="#232323">
"<tspan class='seriesLabel' >the label</tspan>"
</text>

and the whole "<tspan...." text is shown



T. Tsonev
Telerik team
 answered on 31 Jul 2014
1 answer
320 views
Hi,

I run into an problem when using
<ul data-role="listview">
there seems to be a bottom border of the ul element, but when I inspect it in chrome, I could not figure out where is it defined.
Now I need to remove this bottom border, any ideas?

Thanks,
Qiu,Juan
Kiril Nikolov
Telerik team
 answered on 31 Jul 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?