Telerik Forums
Kendo UI for jQuery Forum
1 answer
290 views
Hello Telerix team,

I am in the process of evaluating Kendo UI for my apps and trying to understand the do's and dont's for our business case. One of the cases which is quite possible in my application is that the JSON can be of the following format.

I am not able to derive a equivalent data model to make the Kendo Grid consume the same. 

Here is the JSON response that is returned as part of my transport: url.

My requirement is to consume the data in the ItemList using the KendoGrid. How to derive a schema model for the same.

{
  "d" : [{
    "__metadata": {
      "uri": "http://localhost/TestService/TestService.svc/Order('4345')", 
      "type": "DataModels.OrderDetail"
    }, 
    "ItemList": [{
      "__metadata": {
        "uri": "http://localhost/TestService/TestService.svc/Item('1')", 
        "type": "DataModels.Item"
      }, 
      "ItemId": "1", 
      "Name": "TestItem", 
      "Rate": "19.00", 
      "Quantity": "3"
    }]
  }]
}

Thanks in advance!
Phil Boudreau
Top achievements
Rank 2
 answered on 20 Jul 2012
0 answers
170 views
Is there a method that allows for an MVC grid to export to word?
Sean
Top achievements
Rank 1
 asked on 19 Jul 2012
0 answers
66 views
hi
I want to:
grid some fields AND edit all fields
how to implement it?
thank u
z
Top achievements
Rank 1
 asked on 19 Jul 2012
2 answers
273 views
Currently treeview calls transport read method when we first time click on expand. After that the data is cached.
I want to call read method forcefully so that dynamically added nodes are refreshed in tree.
Is there a way to give a serverside read call on every expand button click?
Sushant
Top achievements
Rank 1
 answered on 19 Jul 2012
0 answers
84 views
I let chart auto-scale my Y axes and it seems to randomly choose to set a zero origin part of the time and a non-zero origin at other times. Can someone explain to me how it makes this choise?

Thanks/Anker
Anker Berg-Sonne
Top achievements
Rank 1
 asked on 19 Jul 2012
3 answers
935 views
I am using a grid which is loaded from database and also toolbar for creating a new record.
But instead of using the tool bar i want a new record to be opened by default at the time of loading the grid.(i.e addrow() method without clicking any button)
how is it possible? 
I have attached the image which i needed on grid load.
pls suggest....  

sam.
Iliana Dyankova
Telerik team
 answered on 19 Jul 2012
1 answer
88 views
Hi,

I noticed that the graphs in demos do not resize when I resize the browser window. Is it possible to make graphs that resize on browser window resize. if yes, how ?

Thanks,
Akshey
Dimo
Telerik team
 answered on 19 Jul 2012
0 answers
132 views
I want to Time Picker in editable grid
Karan
Top achievements
Rank 1
 asked on 19 Jul 2012
1 answer
995 views
I am using a panel bar in a splitter and attempting to make the panel content take up the whole pane. I am able to change the panel content size successfully, however when a height change is applied to the first element, it expands it automatically. If I exclude the first panel from the height change, then there is no expansion of the panel.

The below panelContent class is the style applied to the panel content. The only thing it contains is overflow: auto. Now the below line is how I'm trying to change the height of the panels when the page loads to get a calculated height of the side pane. 
$(".panelContent").height(200);

Is there a better way to get the panel content to resize so it takes up the full height of the pane? Alternatively, is there a way to prevent the first panel from expanding when you change the height with jquery? Are there easier ways to access the height of the panel content?

Thanks for any help,
Alex
Dimo
Telerik team
 answered on 19 Jul 2012
1 answer
226 views
Hi I am using this piece of code to pull a data source from a webservice but it keeps coming up empty. Funny thing is that I actually just copy and pasted the exact code from elsewhere in my site where it was working perfectly and just changed the variables. Anyone know why this would be happening.

Code:
searchInit is being called from document.ready.
Here is the url for the webservice: http://itracdev.com/scripts/db/partners.php?task=select&subtask=getContacts&EEID=1&ClientID=1
The console.log(searchPartnerSource) and empty data object.

function searchInit(){
    console.log('ClientID = '+clientID);
    var searchPartnerSource = new kendo.data.DataSource({
        transport: {
            read:"/scripts/db/partners.php?task=select&subtask=getContacts&EEID="+eeMemberID+"&ClientID="+clientID
        },
        schema: {
            data: "data"
        },
        pageSize: 5
     });
     
    console.log(searchPartnerSource);
}
Phil
Top achievements
Rank 1
 answered on 19 Jul 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?