Telerik Forums
Kendo UI for jQuery Forum
1 answer
82 views
I'm writing this post to ask if these things are already planned or if it would be easy to have them implemented.

  1. Flexibility as to decide if when you append an item to a treeview it should expand the group or not.
    Right now the default value is true.
    When you try to create a load on-demand tree we should need the flexibility to set the items to be collapsed when we append them (if they have children items) so we can make use of the expand event to fill them with their children.
  2. Some kind of animation for the splitters when you collapse/expand them?
    Even nowadays there are people not used to the web environment, and if the collapsible pane just hides instantly (or almost) they will first think 'Where did my *whatever* went!?' so having some kind of easing they would see where did it go.

Well I leave these 2 open right now, I think this could be used by people to ask if things are already implemented or easy to implement (of course if it is not then they will have to use the uservoice, but we can know before sending them to the uservoice if it is something already planned)
Iliana Dyankova
Telerik team
 answered on 06 Mar 2012
5 answers
305 views
Hello,

I am having problem when trying to use KendoUI's TreeView inside PanelBar. It seems that the panelBar is changing all ul/li child nodes, even those that should not have anything to do with the Panel. e.g. panel < ul < li < div < div < ul < li.

It's adding k-item, k-state-default to all child li nodes.

I'm using version v2011.3.1129

Is there any workaround to this?

Alexey
Top achievements
Rank 1
 answered on 06 Mar 2012
3 answers
495 views
is there a way to inject custom css into editor?
for example i want to change <p> margin and padding inside editor
Alex Gyoshev
Telerik team
 answered on 06 Mar 2012
1 answer
186 views
Hello,

I have a hierarchy grid set up. The outer grid has a dozen or so columns while the inner grid only has 3 columns. I have specified specific widths for all the columns however the columns in the inner grid do not respect the width values set and expand to the full width of the outer grid.

So instead of looking like this:

..|.A.....|.B.....|.C.....|.D.....|.E.....|.F.....|.G.....|.H.....|.I.....|.J.....|.K.....|.L..
..>....|.1.....|.2.....|.3...

It looks like this:

..|.A.....|.B.....|.C.....|.D.....|.E.....|.F.....|.G.....|.H.....|.I.....|.J.....|.K.....|.L..
..>....|.1................................|.2........................|.3..............................

I don't really care if the inner grid itself is streatched to the full width of the outer grid but the columns need to respect the width I set so it's easily readable.
Justin
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
82 views
I'm attempting to chain together two combobox controls. The problem I'm having is:

Box 1 change event enables box 2.
Box 2 is disabled on start by default.
If I select an item in box 2, then go back and change the box 1 value, box 2 just sits there and will not do anything. I can't even open the list.
I need to always sync the values because box 2 is reliant upon the selection in box 1.

Is there something I am doing wrong.

http://pastie.org/3506645 



Georgi Krustev
Telerik team
 answered on 05 Mar 2012
0 answers
154 views
Hi,
Does the Kendo datasource support the following JSON format?

var people = [
                        {
                            "Person": { Name: "Person 1"},
                            "Person": { Name : "Person 2"}
                        }
                    ];

My current schema only loads the last record from the data source when connected to a grid. I am using the Q1'12 beta.

$("#grid").kendoGrid({
                        dataSource: {
                          data: people,
                            schema: {                                
                                type : "json",    
                                model: {                                    
                                    fields: {
                                        Name: { type: "string" }
                                    }
                                }
                            }                            
                        },
                        height: 250,
                       
                        columns: [
                            {
                                field: "Person.Name",
                                title: "Name"
                            }
                            
                        ]
                    });


Thanks.
Morten
OM
Top achievements
Rank 1
 asked on 05 Mar 2012
2 answers
536 views
Hi there,

I am trying to map a field defined in my datasource schema to the unique Model instance id property. However, after I do this the field in the model no longer displays correctly when the datasource is bound to a list. The value for "PONumber" field is always 'Undefined' after this mapping is defined. If I comment out the line which maps the "PONumber" field to id, the expected value from the "PONumber" field shows up in the output. However, because there is no id mapping which uniquely identifies the Model instance calls like get(id) won't work.

[Edit: I am using 2012.1.229.beta]

Here is the code I'm using (see attachment for code and sample data file): 
<!DOCTYPE html>
<html>
<head>
    <title>Repro</title>   
    <script src="js/jquery.min.js"></script>
    <script src="source/js/kendo.all.js"></script>
    <link href="source/styles/kendo.common.css" rel="stylesheet" />   
    <link href="source/styles/kendo.mobile.all.css" rel="stylesheet" />
</head>
<body>
    <div data-role="view" id="tabstrip-listview" data-init="initList" data-title="PO List" data-layout="tabstrip-layout">
        <ul id="po-listview"/>
    </div>
    <script>
        var app = new kendo.mobile.Application(document.body);
        var ds = new kendo.data.DataSource({
            transport: {
                read: "Data/POListTest.xml"
            },
            schema: {
                type: "xml",
                data: "/ItemInfoList/ItemInfo",               
                model: {
                    id: 'PONumber', // *** Commenting out this line fixes the problem ***
                    fields: { PONumber: "Item/PurchaseOrderHeader/POHdrPONumber/text()" }
                }
            }
        });
 
        function initList() {
            $("#po-listview").kendoMobileListView({ dataSource: ds, template: "${PONumber}" });
        };
 
    </script>
</body>
</html>

Any ideas what is happening here?
Richard H
Top achievements
Rank 1
 answered on 05 Mar 2012
0 answers
96 views
Hi everyone, I was wondering, is there a plan to implement some sort of "layout mode" property in the dropdown/combo config that would let you set if you want to use a list or a table. That way we could implement templates with TDs to define multiple columns.

I'd love to see that!

Cheers,
Andrés

Andrés
Top achievements
Rank 1
 asked on 05 Mar 2012
3 answers
653 views
Hi,
I need my pie chart to be 200px * 200px, so I set the parent div style accrodingly, and appended the width style at the end of the chart function call.Now my chart widget size looks fine, but the pie chart itself is very small (diameter is only 26px) compared to the chart area.The pie chart looks like a small colored bullet point in the middle of a white space.How can I make the pie chart visual bigger ?


<div id="chart" style="width:200px">
</div>

function createChart2() {
                $("#chart").kendoChart({
                 
                    theme: $(document).data("kendoSkin") || "default",
                    dataSource: {
                        type: "odata",
                        transport: {
                            read: {
                                url: "../../Services/WcfDataService1.svc/AllianceSummaryPartnershipMixes"
                            }
                        },
                        sort: {
                            field: "Name",
                            dir: "asc"
                        }
                    },
                    title: {
                        text: "Partnership Mix"
                    },
                    legend: {
                        position: "bottom",
                        margin: 0
                    },
                    seriesDefaults: {
                        type: "pie"
                    },
                    series: [{
                        field: "Value",
                        categoryField: "Name"
                    }],
                    tooltip: {
                        visible: true,
                        format: "{0:N0}"
                    },
                    chartArea: { margin: 0 },
                    plotArea: { margin: 0 }
                }).css({ height: "200px"});
            }
Bjarke
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
71 views
Is it possible to insert a line in the editor or simulate a line? I know I could do it with an image like I do with the Silverlight RadRichTextBox, but is it possible to do this without having to use and image?
Dimo
Telerik team
 answered on 05 Mar 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
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?