Telerik Forums
Kendo UI for jQuery Forum
6 answers
718 views
I need to create a grid that works more like the RadTreeList does, in that you have a grid, but you can expand and collaps rows by a hierarchical navigator.

Is this somehow possible to do using KendoGrid?    Should I use KendoTreeView instead?

Anyone have any sample code that can illustrate how to do this?

Preferably, it would be nice to be able to bind it to an xml structure like this:

<Data>
    <Employee>
        <Name>Mary</Name>
        <EmpType>Executive</EmpType>
        <Salary>65000</Salary>
        <Employee>
            <Name>Fred</Name>
            <EmpType>Manager</EmpType>
            <Salary>52000</Salary>
            <Employee>
                <Name>John</Name>
                <EmpType>Supervisor</EmpType>
                <Salary>37000</Salary>
            </Employee>
        </Employee>
    </Employee>
</Data>
Sebastian
Telerik team
 answered on 05 Nov 2012
0 answers
87 views
Hi,

I've a multi-lingual website, which uses date.

Ive a 
kendo.culture("@lang")

which allows me to get message/texts in the correct language.

But now I need to have the same specific date format in all language.(JJ/MM/AAAA, even with the "en" culture)

How can I do this?

Found myself the solution, there is a format property to fill on calendar creation
Julien
Top achievements
Rank 1
 asked on 05 Nov 2012
1 answer
87 views
Hi Guys,

we are using Kendo Date Picker, and now brazil is in a summer time. The problem is we changed our time and increased 1 hour at october 20th, and on this calendar we have now 2 days 20...all days ahead are wrong.

Could you help us and fix this feature?

Thank you in advance.
Rakuten Brasil
Georgi Krustev
Telerik team
 answered on 05 Nov 2012
2 answers
101 views
Hi all,

I use Razor to create a treeview. If I user Items.Add each element I can use checkboxes, else if i user Datasource I checkboxes not working. Please tell me any problem?

@(Html.Kendo().TreeView()
                                                .Name("treeview")
                                                .Events(events => events
                                                    .Select("onSelect")
                                                )
                                                .Checkboxes(checkboxes => checkboxes
                                                    .CheckChildren(true)
                                                )
                                                .DataTextField("InfoCategoryName")
                                                .DataSource(dataSource => dataSource
                                                    .Read(read => read
                                                        .Action("GetAllCategory", "Information")
                                                    )
                                                )
                                                
                                            )

Best regard,
Troy
Alex Gyoshev
Telerik team
 answered on 05 Nov 2012
0 answers
133 views
 Hi,
 I attached screen shot ,Plz find that .and let me know how to create vertial splitter, and what are the files i have to reffer .
Thanks to advance.

Anjireddy
Top achievements
Rank 1
 asked on 05 Nov 2012
2 answers
149 views
Hi,

Some body please help 
Have created WCF Restful service. table name is Table1
and Servicename created is Table1CollectionService

Have ID and Name as table1 fields.

i am trying to bind this table info to a kendo grid.
i donno what for this is not working.

<script>
     $(document).ready(function () {
         $("#grid").kendoGrid({
             dataSource: {
                 type: "json",
                 transport: {
                     read: { url: "http://localhost:52408/Table1CollectionService.svc/", contentType: "application/json; charset=utf-8" }
                 },
                 schema: {
                     model: {
                         fields: { Id: { type: "number" }, Name: { type: "string" }
                         }} },
                 error: function (e) {
                     debugger;
                     alert('error');
                 },
                 change: function (e) {
                     alert("Change");
                 },
                 requestStart: function (e) {
                     debugger;
                     alert("Request Start");
                 },
                 pageSize: 10,
                 serverPaging: true,
                 serverFiltering: true,
                 serverSorting: true
             },
           filterable: true,
             sortable: true,
             pageable: true,


             columns: [{
                 field: "Id"
             }, { field: "Name" }
                        ]
         });
     });
    </script>

i have added jsonbehaviour attribute on service class also.
but it is not working .please help me if u can 

Thanks and Regards
Victoria
Victoria
Top achievements
Rank 1
 answered on 05 Nov 2012
10 answers
4.0K+ views
I am using the following code in my view.

@Html.Kendo().DropDownListFor(x => x.PasswordStrength).BindTo(Model.AvailablePasswordStrengths).DataTextField("Text").DataValueField("Value").Value(Model.PasswordStrength.ToString())

Notice that I am settings the "value" of the drop down list. The outputed js doesn't have the initial selected value.

jQuery(function(){jQuery("#PasswordStrength").kendoDropDownList({dataSource:[{"Selected":false,"Text":"Blank","Value":"0"},{"Selected":false,"Text":"Very weak","Value":"1"},{"Selected":false,"Text":"Weak","Value":"2"},{"Selected":true,"Text":"Medium","Value":"3"},{"Selected":false,"Text":"Strong","Value":"4"},{"Selected":false,"Text":"Very strong","Value":"5"}],dataTextField:"Text",dataValueField:"Value"});});

EDIT: After looking with reflector, I found DropDownItemFactory and DropDownItemBuilder, and I couldn't find an usages of them. Also, It seems like the "Value" of the builder isn't being used either. I'm confused. I know this is beta, but beta implies "we are done, but needs more testing," and not "We are not done implementing classes but here is what we got so far.". This is a BETA product and not a preview. The two are different.
Mbanaso
Top achievements
Rank 1
 answered on 05 Nov 2012
0 answers
85 views
In chrome, I change date value to next date from UI ( open date selector to select ).
Sometimes change event is not fired.
John
Top achievements
Rank 1
 asked on 05 Nov 2012
0 answers
108 views
Incremental search is a very useful feature to have for a grid. Does KendoUI grid currently support this functionality? And if not, is it in the works?
Samuel
Top achievements
Rank 1
 asked on 05 Nov 2012
3 answers
184 views
Hi, 

I have added a DateTimePicker in our MVC 4 web application. It looks very odd at first time.
Can you please tell what's a problem behind it and how to solve it?

I have attached screenshot.

In master page, 

<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.2.913/kendo.common.min.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/kendo/2012.2.913/kendo.metro.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.2.913/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
    
<script src="@Url.Content("~/Scripts/kendo/2012.2.913/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.913/kendo.all.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.913/kendo.aspnetmvc.min.js")"></script>



Regards.
Kalpesh
Stephen Tearle
Top achievements
Rank 2
 answered on 05 Nov 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
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
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?