Telerik Forums
Kendo UI for jQuery Forum
0 answers
131 views
Hello, I am trying to make a simple stack chart. The problem is the colors on the legend aren't showing the right color for the chart.

I tried changing the color names to HEX and RGB but it still doesn't give me the right colors. I guess it reverts to the default.

Here is an example of the code on jsfiddle:
http://jsfiddle.net/SupremeA1/Cke4n/54/
Steven
Top achievements
Rank 1
 asked on 17 Sep 2013
2 answers
132 views
I have an employees table that is binding to a TreeView. I then need to display the employee information when a node is double clicked on. Is there a way to pass the Id of each object that is displayed in the TreeView to a data-id attribute in the span tag that displays them?
Rodney
Top achievements
Rank 1
 answered on 17 Sep 2013
1 answer
125 views
Hi,

I have a problem, I dont know why but my data-init function in a main view is being called when I navigate back to that page for the first time. Shouldn't it be called only when its displayed for the first time? I want to separate some initialization logic from show logic in the starting view.

View is defined as a first (and only) view inside the body element.

<div data-role="view" id="..."  data-model="..." data-init="initFnc"  data-show="show">
</div>

 I create the app like this:
var app = new kendo.mobile.Application(document.body, { transition: "slide" });

So once again sequence of events, just to be clear:
1.app started, main view opened -> init and show functions called
2.navigate away, navigate back -> init and show functions called
3.navigate away, navigate back -> show function called

In step 2, I want to call only the "show" function.

Thanks!
Kiril Nikolov
Telerik team
 answered on 17 Sep 2013
9 answers
4.4K+ views
Can you please tell me if there is any sample of confirm dialog (with custom buttons YES/NO, OK/Cancel etc.) made using KendoUI modal window?
Alex Gyoshev
Telerik team
 answered on 17 Sep 2013
2 answers
565 views
We have an application that allows for working in multiple currencies and supports localization. For example, I may speak US English but might be working (on the same page) with Yen, Euros, and US Dollars. As I work with/edit these currencies, I should see the decimal and thousands separator in US English but the currency symbol (and possibly positioning, decimal places, etc.) will change based on the currency.

We want to use the NumericTextBox for currency input and formatting, but it appears the currency format only comes from the ambient page-level culture - there isn't a straightforward way to say "use US English with these modifications just for this Yen currency entry textbox, and use US English with these different modifications just for this Euro entry textbox."

I am currently pursuing an option where I somehow replace the _format function on the NumericTextBox widget so it gets the culture but then also allows for field-level overrides before returning the complete number format.

Am I overlooking something obvious? Is there a better way to accomplish this?
Travis
Top achievements
Rank 1
 answered on 17 Sep 2013
1 answer
107 views
Go to the demo page in IE 10:
http://demos.kendoui.com/web/editor/inline-editing.html

Click anywhere and insert a multi-row table.
Delete a few rows and table editing will hang and you will get this error:

SCRIPT16389: Unspecified error. 
kendo.all.min.js, line 20 character 6377

Works in Chrome.




Alex Gyoshev
Telerik team
 answered on 17 Sep 2013
1 answer
514 views
See the example here: http://jsbin.com/upaXUva/5/edit

When we have a kendo UI Grid within a modal (problem occurs with Bootstrap modal, Kendo UI modal and jQuery UI modal), open the filter dropdown, and the dateime controls within that will fail to produce their dropdowns (click the datetime control, the dropdown flashes and then disappears). This problem doesn't occur when the Grid is "directly on the page".

Is there some event that is cancelling the dropdown? Some problem with the Grid component?

Kendo UI version: 2013.2.716
jQuery: 1.9.1
Bootstrap: 2.3.2
Alexander Valchev
Telerik team
 answered on 17 Sep 2013
14 answers
418 views
Hi!

I'm testing the scheduler and seem to be having a problem wrt. getting recurring events to "behave" in a Norwegian setting. The app is an ASP.NET MVC4 web application. I have set both uiCulture and culture to nb-NO in web.config, and I've loaded kendo.culture.nb-NO.min.js in _Layout.cshtml.

If I am in DayView, choosing today's date (which is a Tuesday) and try to set up a weekly recurring event, the dialog has pre-selected Wednesday as the weekday for the recurring event. If I change that to Tuesday manually, all seems to work fine. However, this should not be necessary.  ;-)  

All day names are listed in Norwegian, and the first-day-of-week is Monday, just as it should be. Only the preselected weekday seems to be wrong.

Have I missed something in the config, or is this a bug...?

Best regards,
  Gunnar


gunnisen
Top achievements
Rank 1
 answered on 17 Sep 2013
4 answers
645 views
I have no problem using Kendoui with requirejs except when I try to localize the dates using kendo.culture().  For another project without requirejs I have no issues.

My settings are

require.config({
  paths: {
      jquery: 'lib/jquery-1.7.2.min',
      kendo: 'lib/kendo.web.min',
      kendoCulture: 'lib/cultures/kendo.culture.es-MX.min',
      knockout: 'lib/knockout-2.1.0',
      knockout_kendo: 'lib/knockout-kendo.min',
      underscore: 'lib/underscore-min',
      json2: 'lib/json2',
  }
});
 
require([
    'jquery',
    'kendo',
    'kendoCulture',
    'knockout',
    'knockout_kendo',
    'underscore',
    'json2'
    ], function (
        $,
        kendo,
        kendoCulture,
        ko,
        knockout_kendo,
        _,
        json2) {
 
        // Start of Main Function
        $(function () {
 
 
            kendo.culture("es-MX");
 
              $("#tabstrip").kendoTabStrip({
                        animation:{
                            open:{
                                effects:"fadeIn"
                            }
                        }
 
                    });
 
            // knockout Bindings
   
        });
});

The error message that I get is that kendo is undefined when the kendo.culture("es-MX") command is called.

Thanks,

Alberto



Mihai
Telerik team
 answered on 17 Sep 2013
2 answers
419 views
i have implemented Menu as per demo.
but i click on the menu / mouse over nothing happen.

i need step by step process to work with Kendo Menu, Children and innerChildren.


by 
Shan .A
Kiril Nikolov
Telerik team
 answered on 17 Sep 2013
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
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
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?