Telerik Forums
Kendo UI for jQuery Forum
1 answer
80 views
Hi,

I have a grid in a tabstrip widget with two tabs. Everytime no row is selected in the grid (tab1), I want to disable the other tab (tab2). Unfortunately the Change event doesn't fire when a row is unselected so I achieved this by using the Cancel, Save, SaveChanges and Remove events for now. But with this idea, tab2 is not disabled, when the user chooses to cancel the destroy operation.

Any ideas?

Dietmar
Dimiter Madjarov
Telerik team
 answered on 16 Jul 2013
1 answer
615 views
My JSON object returns data similar to this: 
Count   Group    Num    year
16         Group1     1         2013
15         Group1     2         2013
21         Group1     3         2013
34         Group1     4         2013
12         Group1     5         2013
30         Group2     1         2013
23         Group2     2         2013
 
In the area chart I group by field [Group]. When it's rendered in the chart, the category (horizontal) axis (Field [Num]) only displays values 1 & 2, since Group2 only has [Num] 1 & 2. What would I need to do to display the [Num] from Group1? Group 1 will will always have 5 [Num].
 
A fix is to add 3 more rows to 'fill' what's missing from Group2 (3, 4, 5), but that's not really a solution.
 
Thanks.
Iliana Dyankova
Telerik team
 answered on 16 Jul 2013
1 answer
2.0K+ views
Is it possible to statically show the value next to the end of  the bar in a bar chart instead of showing it in a tool tip? For example, if I have a bart chart with horizontal bars and the value of the bar is 10, I'd like to have 10 show next to the end of the bar. Being able to show '10 hours' would be even better. I need this because I'm using the chart on a page meant to be printed.

Iliana Dyankova
Telerik team
 answered on 16 Jul 2013
3 answers
102 views
After trying to find a work-around myself and opening a support ticket with Kendo UI (#709522), it seems that Kendo UI is not compatible with Cordova 2.7.  This is potentially due to the location.hashchange-related bug in Cordova.Initializing the Kendo UI Application after deviceready does not seem to fix it either.  If anyone comes up with a work-around that works on Android and iOS, I'd love to know about it.  Until then, Kendo UI Mobile users seem stuck on Cordova 2.4.

P.S. The new thread page keeps telling me "Invalid post content."
Steve
Telerik team
 answered on 16 Jul 2013
1 answer
137 views
Hi!

We have some kind of dashboard with several windows in iframe

When user drags window outside of edges of the mother iframe
and cancels drag (releases left button)
window sticks and follows mouse pointer
http://jsfiddle.net/XYXyj/8/

It is very annoying since our users are bad in precise aiming.
Are there any workarounds? Could you please fix this?
Kiril Nikolov
Telerik team
 answered on 16 Jul 2013
1 answer
97 views
I have a simple grid and need to apply some formatting from the server onto the rendering:

This code below doesn't do any formatting strange, it just displays the value:

columns.Bound(e => e.MarketValue).Title("Mkt. Value ($)")
         .Template(@<text>@Formatters.FormatCurrency(item.MarketValue)</text>)
Is there another way to apply this server function to the MarketValue ?

Vladimir Iliev
Telerik team
 answered on 16 Jul 2013
1 answer
269 views
Is there a way to change a column's title after the grid has been created?
Iliana Dyankova
Telerik team
 answered on 16 Jul 2013
1 answer
111 views
Is there a way to change a column's ForeignKey values after the grid has been created?
Petur Subev
Telerik team
 answered on 16 Jul 2013
1 answer
104 views
Hi,<br>
<br>
I run into a problem with the sample code below and I am not sure what causes it.  The problem is that the "temperatureLabel" gets display only once inside the for loop in the "myTemplate" template. <br>
<br>
<br>
var viewModel = kendo.observable({temperatureLabel: "Temperature", mydata:[]});<br>
<font style="line-height: 1.65;">$.ajax({</font><br>
                    url: url,<br>
                    context: this,<br>
                    type: "GET",<br>
                    success: function(data) {<br>
                        this.viewModel.set("mydata", data);<br>
                        kendo.bind($("#view"), viewModel, kendo.mobile.ui); <br>
                    },<br>
                    error: function(xhr, statusText, errorThrown) {<br>
                       console.log(errorThrown);<br>
                    },<br>
                    timeout: 10000<br>
 });<br>
<br>
<div id="view"><br>
<ul id="taf-panelbar" data-bind="source: mydata" data-template="myTemplate"></ul><br>
</div><br>
<br>
<script id="myTemplate" type="text/x-kendo-template"><br>
          # for (var i = 0; i < forecast.length; i++) { #<br>
                <li><br>
               <div><br>
               <table style="border: 1px solid lightGray; border-radius:6px;"><br>
                    <tr><br>
                        <td class="label"><span data-bind="text:temperatureLabel></span></td><br>
                        <td>:</td><br>
                        <td style="text-align:left;"><span>#=forecast[i].temperature#</span></td><br>
                    </tr> <br>
               </table><br>
               </div><br>
               </li><br>
          # }#<br>
</script><br>
<br>
Can someone shed some lights on this?<br>
<br>
Thanks,<br>
Kee
Petyo
Telerik team
 answered on 16 Jul 2013
1 answer
84 views
I have a requirement that 2 months appear at the same time as per screenshot.

Is this possible, "out of the box"?

Kiril Nikolov
Telerik team
 answered on 16 Jul 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?