Telerik Forums
Kendo UI for jQuery Forum
3 answers
344 views
Hi,

I have a treeview and bind datasource form web api.
When I tried to drag and drop node and an error occurred, "Unable to get value of the property 'length': object is null or undefined " in IE9.


There is my code

<script>
    $(function () {
        var serviceRoot = "http://localhost:12181";
        var homogeneous = new kendo.data.HierarchicalDataSource({
            transport: {
                read: {
                    url: serviceRoot + "/api/Group",
                    dataType: "json"
                }
            },
            schema: {
                model: {
                    id: "Id",
                    hasChildren: "hasChildren"
                }
            }
        });
        $("#treeview").kendoTreeView({
            dragAndDrop: true,
            dataSource: homogeneous,
            dataTextField: "Name"
        });
    });
</script>
<div id="treeview"></div>


Any advice?
Alex Gyoshev
Telerik team
 answered on 17 Sep 2012
3 answers
413 views
Is there a way to force the TreeView to reload all child nodes (AJAX) when a parent node is expanded?

Right now the children are only loaded once when the parent is first expanded.  I would like to have the treeview completely refresh all children from an AJAX call each time the parent node is expanded.

Thank you.

=== EDIT ===

It looks like I can use the _view array of the tree view's dataSource property and call the load() method of the view, but how do I get the view's index?
Alex Gyoshev
Telerik team
 answered on 17 Sep 2012
3 answers
757 views
Hi

Is there a way to specify the sort order for group headers in a grid?

I am returning the sort order as a number in another field and would like to display the groups sorted according to this field.  Additionally I do not want to display the grouped field in the table as a column.

As a work around, I've concatenated the sort field and group field values together and used that to group by but, although it works, it doesn't look good.  I thought of using the groupHeaderTemplate to then remove the sort prefix before displaying it but seeing as I don't want to display this info in a column, I don't have a way to specify the template.

Is there a way to specify a field in the columns section of a grid but not display it as a column (e.g. field "Section", hide: true) ?

Please help.
Rosen
Telerik team
 answered on 17 Sep 2012
2 answers
147 views
View this jsfiddle with Internet Explorer 9 and mouse over the items to see the effect:
http://jsfiddle.net/Krt9C/3/

The effect goes away once the treeview has enough room to display all items (the treeview horizontal scrollbar disappears).

Is there a workaround?  Note, IE9 is the only confirmed browser that does this.
Nohinn
Top achievements
Rank 1
 answered on 17 Sep 2012
1 answer
175 views
Hi,
This is my first time to use Kendo UI. I am failed to apply applitter although follow the steps online (testing using VS2012 RC and kendoui.trial.2012.2.710). Could you point out what is missing? Thank you very much.
Wen
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
92 views
We are currently comparing a few grids for a new project, one of which is Kendo's grid. It seems really nice out of the box but seems to be lacking some simple customisation i.e. custom column header css classes. Is this currently possible? There doesn't seem to be  a column property for this.

Regards
James
Top achievements
Rank 1
 asked on 17 Sep 2012
0 answers
110 views
first of all
my grid can't be edit.
but i want to use the dirty cell class,through the json data.
xu
Top achievements
Rank 1
 asked on 17 Sep 2012
0 answers
82 views
I want to make the pie chart as large as possible vertically. I need to be able to push the labels that appear in the top and bottom areas to the sides. Do I mess with plotArea? Or how should I go about tweaking the configs for this?

Dina
Top achievements
Rank 1
 asked on 16 Sep 2012
7 answers
1.0K+ views
Hello;
I was talking to a prospect today about the benefits of Kendo UI and they asked me if Kendo UI has a full sample or links to sites that are using Kendo either in Ajax form or with ASP.Net MVC.

Many Web development tools offer full samples (multi pages) for example a shopping cart with products, listings, orders and  etc to showcase their products.

Thanks!
..Ben
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 16 Sep 2012
2 answers
127 views
I am trying to bind a Kendo mobile button to a javascript model (kendo.observable).  I'd like to have the button disabled until the model says everything is valid.  

I've created a small jsFiddle that shows my problem.   Should the mobile button be "bindable" to a kendo observable model?

http://jsfiddle.net/jeremy_wiebe/SxYCb/ 

Thanks,
Jeremy Wiebe
Top achievements
Rank 1
 answered on 16 Sep 2012
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?