Telerik Forums
Kendo UI for jQuery Forum
6 answers
240 views
I would like to have one kendo datasource that get its data from an ajax call that contains multiple arrays of data in one wrapper. The data in each array could be shaped differently and would be used for different tables/charts on the same page. So for example the data returned from the web service call would look like:
[
{ type: "names", name: "john", age: 12},
{ type: "names", name: "andy", age: 10},
{ type: "names", name: "sally", age: 11},
{ type: "toys", item: "bike", price: 69.99, color: "red"},
{ type: "toys", item: "yo-yo", price: 5.99, color: "blue"},
{ type: "toys", item: "football", price: 19.99, color: "brown"}
]

and I would like to have one table show the names and another table show the toys.  Is this possible?
Dmitry
Top achievements
Rank 1
 answered on 28 Dec 2011
0 answers
113 views
I've been trying to get the editable gird to work with my project, currently I have a telerik grid which uses ajax and is editable and works fine, I'd like to make a mobile editable table to edit the same sql database.

how would I go about this? Inoticed in the sample the table points to several URLs but I'm not usre how these URLs are generated based on the sql table.

Can anyone give me any pointers to get it to work?
Ahmed
Top achievements
Rank 1
 asked on 28 Dec 2011
2 answers
164 views
Hi telerik team,

I am new to kendo charts. Please tell me how to set the x and y axis' texts in kendo charts like the one in the attached file.
Jud
Top achievements
Rank 1
 answered on 28 Dec 2011
3 answers
1.1K+ views
Bug or Feature?
Kamen Bundev
Telerik team
 answered on 28 Dec 2011
0 answers
157 views
I have a grid that I use to display data in. I use my own paging and not the inbuilt method.

Is it possible to enable paging on a grid, then override it to show links to pages (e.g. site.com/stuff/page/2) that I specify?
Gabriel
Top achievements
Rank 1
 asked on 28 Dec 2011
0 answers
95 views
Anyone have any sample code of how to use the Grid in a multi column/wrap look?

I would like to be able to have 2 or 3 columns with x number of rows.
Voss
Top achievements
Rank 1
 asked on 28 Dec 2011
1 answer
219 views
I'm using the Kendo grid to display Elmah errors (test project to evaluate Kendo UI) from a remote data source that gets JSON data from an MVC application. 

I've put a calendar control on the form to filter the data. However, I can't seem to get the read operation to send the parameters. Can anybody figure out what I'm doing wrong? Here is the code:

var errSrc = new kendo.data.DataSource({
    transport: {
        read: {
            url: '@Url.Content("~/Errors")',
            dataType: 'json',
            type: 'post',
            data: function () {
                var d = { day: model.date() };
                return d;
            }
        }
    },
    schema: {
        parse: function (data) {
            if (data.length > 1000) {
                data = data.slice(0, 1000);
                model.tooMany(true);
            }
            var errs = $.map(data, function (item) { return new Error(item) });
            model.errors(errs);
            model.count(errs.length);
            return model.errors();
        }
    }
});

I have confirmed that the data function is getting called and the correct date is being returned. However, no data is being sent in the HTTP post (confirmed using Fiddler2).

I've tried a couple different approaches (such as calling errSrc.read({ day: model.date() })) but haven't gotten it to work yet.
Brian
Top achievements
Rank 1
 answered on 28 Dec 2011
2 answers
82 views
Here is the output of the jsonp from the webservice I am calling (I have removed a bunch of extraneous data but maintained the overall structure).  I'm only interested the "SubRows" grouping.  I'd like to break out visits (y-axis) by start-date (x-axis) in a line chart.  How would I represent the schema for this datasource?

"data" : [
{
 "YttQZfDcyK6" :
 { 
  "measures" :
  { 
     "Visits" : 22214391
  } ,
  "SubRows" : [ 
  {
   "start_date" : "2011-01-01",
   "measures" :
   {
    "Visits" : 605521
   } ,
   "SubRows" : null
  },  
  { 
   "start_date" : "2011-01-02" ,
   "measures" :
   {
    "Visits" : 672939 
   } ,
   "SubRows" : null
  } ]
 }
} ]

Thanks ahead of time.
Bradley
Top achievements
Rank 1
 answered on 27 Dec 2011
0 answers
144 views
Any samples/Demos for Cascading Drop Down, that are bound to Remote Data Source and filtering occurs on the Server ?

Naunihal
Top achievements
Rank 1
 asked on 27 Dec 2011
4 answers
249 views
I'm trying to create a grid with a column template that has a KendoDropDownList of Checkboxes. The checkboxes are checked on load based on the data source of the grid.

I have the following, but it doesn't work at all. Can someone point me in the right direction please?

Thank you.

<
table id="grid" height="300px">
    <thead>
        <tr>
            <th data-field="Content1">Content</th>
        </tr>
    </thead>
</table>
   
<script id="consumersTemplate" type="text/x-kendo-tmpl">
    <select id="dropdownlist" />
</script>

<script id="consumerTemplate" type="text/x-kendo-tmpl">
    <input type="checkbox" name="#= Name #" value="#= Name #" 
    # if (#= IsSelected#) { # 
        checked
    }
    /
</script> 

$("#grid").kendoGrid({
    dataSource
        ConsumersName"John"IsSelectedfalse }Name"Jane"IsSelectedtrue }
        ConsumersName"John"IsSelectedtrue }Name"Jane"IsSelectedfalse
    ],
   height200,
   scrollable{
     virtualtrue
   },
   columns[
       
           templatekendo.template($("#consumersTemplate")
                                    .kendoDropDownList(
                                        template$("#consumerTemplate").html(),
                                        dataSourcekendo.template("#=Consumers#")
           ).html())
       }
   ],
   selectabletrue
}); 
Ingolf
Top achievements
Rank 1
 answered on 27 Dec 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
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?