Telerik Forums
Kendo UI for jQuery Forum
3 answers
517 views
Hi!

I tried to customize menu direction on example page (http://demos.kendoui.com/web/menu/direction.html) for settings 'bottom left', but sub menu is always displayed in the left side from menu and isn't placed in the bottom. How can we apply this settings for our needs?

Best regards,
Artem
Dimiter Madjarov
Telerik team
 answered on 24 Jun 2013
1 answer
403 views
Hi,
I have a static HierarchicalDataSource defined in a file. I use it as source for a TreeView. TreeView has an 'expand' event fired before expand actually occurs. In that event I can get dataItem related to the node that is being expanded. I need to get children of that dataItem but I cannot see any method/property on dataItem that would allow me to get them. Is there any way to get/load child items?

I would be most grateful for any help :)
Daniel
Telerik team
 answered on 24 Jun 2013
1 answer
132 views
I download the new 0.9 Typescript definition file from the forum and it fixed the 0.9 compatibility issues.  However, it also brought back and error I had manually fixed but forgot to put a post about with the older version.  The interface DropDownListOptions defined the template property as

 template?: string;

But this does not work with  kendo.template function which returns a function.  Changing it to the following worked. 

template?: any; 

However, I think the following is more correct and also works.

(data: any) => string

Just looking through the file there seems to be some other places where I think this is wrong too.
Atanas Korchev
Telerik team
 answered on 24 Jun 2013
7 answers
206 views
Hi!

Before I describe anything with my own words, please look at: http://jsfiddle.net/YdLCJ/

The first problem is the initialization with 1.5 for both NumericTextBox. The second problem is in-/decreasing the german NumericTextBox. - Komma is at the wrong position.

Hopefully you can help!

Thanks in advance.

Jörg Bergner
Backe
Top achievements
Rank 2
 answered on 24 Jun 2013
1 answer
105 views
Hi,

We need to customize inline editing mode  in kendo grid: all rows should be editable all the time and grid should supporting tabbing between the last field of row and the first field of next row. What is the best way to implement behaviour like this?

Best Regards, 

Artem
Vladimir Iliev
Telerik team
 answered on 24 Jun 2013
4 answers
143 views
Hi,

I have got a view with a lot of content (about 18000px high on my smartphone) and I am trying to jump to a specific position in the view by calling

$('#myview').data('kendoMobileView').scroller.scrollTo(0,-200);

upon clicking a particular button. If I click the button before I do anything else, this does not work properly: the scroller scrolls down a bit but returns to the top immediately. However, if I scroll the scroller manually before I click the button, it works perfect.

By the way, I also found that the scrollTop property of the scroller widget returns undefined or NaN in the beginning.

Best,
Alex

P.S.: I am using Kendo UI Mobile 2013.1.527 but the error also occurs with the stable build 2013.1.514.
Missing User
 answered on 23 Jun 2013
3 answers
1.2K+ views
I have a functioning TreeView using and Ajax datasource that displays six root nodes, some of which have children.  I want to automatically find a child node by its id and then select the child and expand it's parent node(s) in order to be visible.  The problem I have is that the TreeView only loads the root nodes.  Querying both the tree and datasource result in the child not being found, but I can find and select one of the six root nodes.  I have tried setting LoadOnDemand(false), but it doesn't load all the child nodes.

I have not been able to wrap my brain about how to generate a full hierarchical dataset in my MVC controller to return as JSON that would have all the child nodes based on the examples I have seen.  Am I missing a method/configuration setting to load all children in the tree automatically?    I've been Googling and looking at lots of stuff, but maybe I'm just being dense.  

Any pointers are appreciated!

Edit 23 June 2013

I finally found out the root of the problem.  I found it in this post:

http://www.kendoui.com/forums/mvc/treeview/treeview-ajax-without-load-on-demand.aspx

The LoadOnDemand(false) does not work when using the MVC Wrapper and a HierarchicalDataSource.  Once I converted to pure JavaScript initialization, everything started to work once I converted my data to a hierarchical structure.  For those of you looking for a good library to convert flat tables into a hierarchical structure, take a look at this set of classes.  They worked great for me.  The only drawback is that it does not work with null parentIds.

http://blog.reneorban.com/2012/04/ashierarchy-generic-extension-method-to_12.html

I also made use of this Linq example to convert the model:

http://stackoverflow.com/questions/947831/c-sharp-algorithm-for-generating-hierarchy

Finally to find, select, and expand the necessary nodes in the tree, I leveraged this example:

http://www.kendoui.com/forums/ui/treeview/example-treeview-with-highlight-search-term.aspx

Hopefully others will find these references useful. 
Fred
Top achievements
Rank 1
 answered on 23 Jun 2013
2 answers
177 views
I've spent a lot of time trying to get items that are added to a ListView or "source" bound element (i.e. <div data-bind="source: myData"></div>) to fade in using FX Fade (http://docs.kendoui.com/api/framework/fx/fade) instead of just appearing abruptly.  Unfortunately, I have been unsuccessful.  Can you explain how to do it in *both* cases (i.e. when using a ListView and when using source binding)?

Here is as far as I got when trying it with a ListView:
var myData = [];
 
$('#MyListView').kendoListView({
  dataSource: myData,
  template: myTemplate,
  dataBinding: function (e) {
    for (var i = 0; i < e.items.length; i++) {
      kendo.fx($('div[data-uid="' + e.items[i].uid + '"]')).fade('in').play();  // THIS DOES NOT WORK.
    }
  }
});
 
myData.push('Test data item');  // SHOWS UP IN THE DIV, BUT DOES NOT FADE IN.

Your help would be greatly appreciated.  Thanks.
Don
Top achievements
Rank 1
 answered on 23 Jun 2013
6 answers
339 views
Morning All,

Are there any plans to release a light box or image gallery control?  

I have seen your AeroViewer Demo , which is close to my clients requirement but as yet no source to see which controls you have used to create it.

Are controls for multimedia on your RoadMap?

Cheers

Steven
Gabriel
Top achievements
Rank 1
 answered on 23 Jun 2013
15 answers
4.2K+ views
How can I turn on (or create) a subtle hover highlight for rows when my grid is row-selectable?  

This should be a built-in feature since such an effect should look good within the chosen theme.  

If it's not, can you suggest some CSS and what class to apply it to that would use theme-friendly hover highlighting?
Andrew
Top achievements
Rank 1
 answered on 22 Jun 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
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?