Telerik Forums
Kendo UI for jQuery Forum
0 answers
165 views
Hi, is it possible to attach grid.collapseGroup(grid.tbody.find(">tr.k-grouping-row")); to a grouping event?
andrew
Top achievements
Rank 1
 asked on 29 Oct 2011
1 answer
282 views
For example. I have article and I attached 3 files to it. Now i open article for edit because I want to add 2 more files but delete one. Of course i could make separate list of already uploaded files. But better would be to give to this UI element list of files to be populated on initialization.
T. Tsonev
Telerik team
 answered on 28 Oct 2011
6 answers
274 views
Hi,

Is there any known issue beetween KendoUI and CurvyCorners. When I include CurvyCorners KendoUI controls start presenting some visualization problems.

Thanks in advance
mvbaffa
Top achievements
Rank 1
 answered on 28 Oct 2011
1 answer
201 views
Hi, I'm trying to populate a dropdown list using XML that was retrieved from a web service which I pass two arguments to. The list seems to be displaying the right number of items, however they all appear as "undefined". Here is my code:

$("#dropdownbox").kendoDropDownList({
    dataSource: new kendo.data.DataSource({
        dataTextField: "name",
        dataValueField: "id",                       
        transport: {
            read: {
                url: "WebService.asmx/GetDates",
                data: {
                    startDate: "2010/10/20",
                    endDate: "2012/10/20"
                }   
            }
        },
        schema: {
            type: "xml",
            data: "NewDataSet/dates",
            model: {
                fields: {
                    building_name: "name/text()",
                    building_id: "id/text()"
                }
            }
        }
 
    })                       
});

Here is the XML that is returned by the web service:

<NewDataSet>
    <dates>
        <id>4</id>
        <name>TestItem1</name>
    </dates>
    <dates>
        <id>5</id>
        <name>TestItem2</name>
    </dates>
</NewDataSet>

Any help would be appreciated!
Patrick
Top achievements
Rank 1
 answered on 28 Oct 2011
1 answer
107 views
Hello 

I've got a control that will set the value of the Combo using the search method. But, I don't want that the list with the options open. How can i supress this? 
I've tried setting highlightFirst or / and to false... but it didn't work.

Or is there another way to set the value of the field an forcing a refresh of the data from the datasource (paging... it might be, that the value is not on the first page)

Thanks for your response
Micha
Georgi Krustev
Telerik team
 answered on 28 Oct 2011
2 answers
102 views
I want to move the columns in grid one next to other ,like it can interchange the column position.

How I will achive this behaviour .Please help me.
arn
Top achievements
Rank 1
 answered on 28 Oct 2011
1 answer
128 views
Hi, at last, a decent jQuery UI framework, a perfect fit for my stack!
Are you able to provide more information in your roadmap? There are many features discussed in these forums that refer to future releases, some of which will fundamentally alter my design patterns. Maybe a gantt chart.
Regards,
Andrew
Sebastian
Telerik team
 answered on 28 Oct 2011
0 answers
101 views
Hi

I am using kendo menu in my project.It is working fine with the simple jsp page ,but if I include applet on my jsp page the menu sub item is hiding behind the applet . i.e. the some portion of the menu item which should be top of applet but it is hiding of that.
Also I have use z-index for that.

Please help.
Sourav
Top achievements
Rank 1
 asked on 28 Oct 2011
0 answers
79 views
please remove this,
found what i was looking for here :http://www.kendoui.com/forums/ui/grid/grid-data-binding-to-xml.aspx
andrew
Top achievements
Rank 1
 asked on 27 Oct 2011
4 answers
191 views

I am trying to build a prototype consuming WebAPI services from KendoUI datasource based on the ContactManager sample which you can fin at:
http://wcf.codeplex.com/wikipage?title=Getting%20started%3a%20Adding%20support%20for%20getting%20a%20single%20resource%20and%20supporting%20POST%2c%20PUT%20and%20DELETE%20methods

Getting a dataSource and a bound grid populated with contacts is extremely easy based on the dpocumentatin on the Kendo web site bur I Struggle to add CREATE, UPDATE and DESTROY operations.

The approach I have taken is:
1) add create, update and destroy to the tranport array in the datasource definition
2) wire the click event of buttons to dataSource.create(), dataSource.update() and dataSource.destroy()

According to VS intellisense, dataSource.create() requires tow arguments named a and b. A quick look in the sources gives id and values which are passed to modelSet.create which calls model.set. Apparently, index is not required and in this case it assumes data.length. model.set takes two parameters fields and values. Whatwever the format I try for values, it does not seem to work.

Note that each contact has two properties, a ContactId set by the server InMemoryRepository and a Name.

Any clues?

01.<script type="text/javascript">
02. $(document).ready(function () {
03.  // create a template using the above definition
04.  var template = kendo.template($("#template").html());
05. 
06.  var dataSource = new kendo.data.DataSource({
07.   transport: {
08.    read: {
09.     // the remote service url
10.     url: "/api/contacts",
11.     dataType: "json"
12.     // additional parameters sent to the remote service
13.     //,data: { $top: "4", $orderby: "Name" }
14.    },
15.    create: {
16.     // the remote service url
17.     url: "/api/contacts",
18.     dataType: "json"
19.    }
20.   },
21.   // subscribe to the CHANGE event of the data source
22.   change: function () {
23.    $("#contacts tbody").html(kendo.render(template, this.view())); // populate the table
24.   }
25.  });
26. 
27. 
28.  $('#add').click(function () {
29.   dataSource.create({Name: "hello"});
30.  });
31. 
32. 
33.  // read data
34.  dataSource.read();
35. 
36.  //debugger;
37. });
38.</script>

 

andrew
Top achievements
Rank 1
 answered on 27 Oct 2011
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?