Telerik Forums
Kendo UI for jQuery Forum
1 answer
130 views
Hello,

In my stock chart I use the baseUnitStep = "auto" option, but I wish to know the current baseUnitStep, whether "weeks" or "days" or "months" even thought it is auto all the time... Is there a way to get this value? It is imperative for me to get this option dynamically!

Thanks
Hristo Germanov
Telerik team
 answered on 15 Apr 2014
3 answers
84 views
I was trying to figure out a way to update the date input on the DatePicker if a user types in only the month and year.  Most of our users are used to our old Telerik ASP.NET site where this was the default behavior of the date picker control.  Ideally, I'd like to take their input and automatically reformat it to add the year.  But I'm not sure how to achieve this with the Kendo MVC controls.  The change event will not fire for me because the input is considered invalid.  I attempted to add ParseFormats for "MM/dd" to my editor template but in stepping through the kendo source code it seems that this information is not passed through to the javascript object (which may be another issue.)  Is there a good way to achieve this functionality?  Thanks for your help.

Here is what my editor template looks like:
@model System.DateTime?
@(Html.Kendo().DatePickerFor(m => m).ParseFormats(new string[] { "MM/dd" }) )   

Regards,
Brian
Georgi Krustev
Telerik team
 answered on 15 Apr 2014
3 answers
113 views
Hello all -

First off, I'm pretty knew to HTML 5 and all that, so I've been learning as I go. Forgive the ignorant question below...

I'm utilizing the telerik mobile sample application in Visual Studio. I've modified it, but mainly just the content. It has three buttons on the tab strip, and the header strip I put in a 'hamburger' menu button.

I'd like it so if I press the menu button on the header, a different view is shown... a config view. In the existing tabs, I used data-bind="visible: flagVar" to hide and show data. I thought it I just put all the contents inside a data-bind="visible: isConfig" I could control showing the current view with the tabs, or the config page overriding the tabs. My variable isConfig is coming from an associated JS file.

Needless to say, this didn't work out, or I would be posting for help. Any feedback or suggestions on this? Not sure if I need to setup the tab strip as an element, and the config as a separate element. I don't want to do a separate HTML page.

Thanks in advance,
Pat
Kiril Nikolov
Telerik team
 answered on 15 Apr 2014
1 answer
490 views
Hi,

I have Popup Editor , And On Popup Editor I have a Tabstrip  with ID (Tab123) and Tab123 has a Multiselect (Ms123).

I want to do some operations with change event of Multiselect(Ms123). Below is how I have the set up for in Document ready

$(document).ready(function () {
 
 $("#Ms123").kendoMultiSelect({
                      valuePrimitive: true,
                      dataTextField: "text",
                      dataValueField: "value",
                    
                      change: function (e) {
blah blah blah....
  }
     });

           }


For some reason in debug mode I could see the change event doesn't fire.

Is it something different way we need to call  $("#Ms123").kendoMultiSelect({}) in a popup editor/Tab strip  or even when a Multiselect is set  it up  in a template kind of thing.

Thanks in Advance,

Chatra


Georgi Krustev
Telerik team
 answered on 15 Apr 2014
1 answer
190 views
Good morning

http://jsbin.com/kiquvano/2/
As soon as you add 0.1 to the item marked "smallest" (in source comments) the scaling works fine again. The largest value is less than 30% larger.
If it is not possible to control the percentage (largest difference between min and max) for autoscaling - is it possible to retrieve the calculated min and max datapoint value from some kendoui internal variables?
Thanks.

 Raido
T. Tsonev
Telerik team
 answered on 15 Apr 2014
4 answers
567 views
is there any way to hide the date "row" such as "Sat 4/12" in the Day view in the Scheduler?
GDPR_erased
Top achievements
Rank 1
 answered on 14 Apr 2014
2 answers
227 views
Hi,

We're using the Sortable widget to connect two grids, and this works as expected as long as both grids have data. However, if the drop target's grid is empty, we've found that it is impossible to drop any rows there. connectWith in the Sortable constructor is being set to: "#gridName table".

Is this an expected limitation? Is there any workaround?

Thanks,
Nick
Nicholas
Top achievements
Rank 1
 answered on 14 Apr 2014
6 answers
619 views
Hey Team Kendo!!

         I am totally amazed with the development of Kendo day to day and Im loving to work with Kendo Framework. I was just trying to give a template for toolbar in MVVM grid but not sure how to do it. For row template we use "data-row-template" and what is it for toolbar????



Regards,

Krishna K C
Krossark Technologies
Alexander Valchev
Telerik team
 answered on 14 Apr 2014
1 answer
220 views
I'm working on a custom widget that uses the kendo data source's prefetch() and range() methods to work something like the virtual scrolling option for the Grid widget. Getting range 0 - 10 works as expected, but I am running into a problem when I try to retrieve the next range (10 - 20).  The data source seems to be skipping ahead another page.  The range returned by view() is the correct one (10 - 20), however the skip() method returns 20 instead of 10:

var skip = 0,
    take = 10;
 
dataSource.range(skip, take);
dataSource.skip(); // 0
dataSource.take(); // 10
 
dataSource.range(skip + take, take);
dataSource.skip(); // 20
dataSource.take(); // 10

Is it by design that the data source automatically configures the skip and take to always return the next range? If not, I believe the cause of the issue is on line 7809 of kendo.all.js. I am currently using "Kendo UI Complete v2014.1.321".

// size = skip + take
// Using size in math.min() will always set that._skip to the start of the next range if we're "paging" forward
that._skip = skip > that.skip() ? math.min(size, (that.totalPages() - 1) * that.take()) : pageSkip;


There does not seem to be any documentation for the range(), prefetch(), inRange(), etc. online.  Are these methods intended only for internal use by the framework or are they officially supported features of the data source?  This is a really awesome feature of the data source, and I hope I can count on it in future versions!

Thanks!
Brian
Petur Subev
Telerik team
 answered on 14 Apr 2014
2 answers
101 views
Hi,
I need to change dynamically the columns count, and when changing the grid to less columns the rows are ok but the headers maintains the previous columns count, and the final result is a mess.
Please see this for a better clarification:
http://jsfiddle.net/QP835/1/

Can anyone advise?

Thanks!
Cleones
Top achievements
Rank 1
 answered on 14 Apr 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
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
Iron
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
Iron
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?