Telerik Forums
Kendo UI for jQuery Forum
1 answer
154 views
Can someone post an example using the 'groups' property of datasource?  For example, the sample data structure and datasource schema/configuration.

groupsFunction
Used instead of data function if remote grouping operation is executed. Returns the deserialized data.

I've tried structuring my data a couple of ways to enable the remote grouping but my listview doesn't bind, it just stays blank with no errors.  I don't want my grouping to be configurable.  Not sure if this property requires serverGrouping to be enabled or not.

Thanks
Ryan
Top achievements
Rank 1
 answered on 12 Apr 2012
0 answers
82 views
Is this possible, but with Kendo UI?
http://jqueryui.com/demos/autocomplete/folding.html 
Rogelio Alberto
Top achievements
Rank 1
 asked on 11 Apr 2012
0 answers
120 views
I was wondering if there was a way to create a Datasource using SignalR.  I know that SignalR is a push design but is there a way to override the transport calls to make hub calls in SignalR?
Ben
Top achievements
Rank 1
 asked on 11 Apr 2012
1 answer
221 views
I have an issue where the style for the editor is getting set with a width of 0. This is not inherited from any other css style but being set by the kendo UI. 

This is the rendered HTML after calling the editor method:
<table class="k-widget k-editor k-header" cellspacing="4" cellpadding="0" style="width: 0px; height: 0px;">


Here is the code for the control"

<textarea id="editor" rows="10" cols="30" data-bind="value: Notes"></textarea>
<script type="text/javascript">
    $(document).ready(function () {
        $("#editor").kendoEditor();
    });
</script>
Dimo
Telerik team
 answered on 11 Apr 2012
2 answers
506 views
I have a grid where one of the cells uses a custom editor to bind to a DropDownList.  The column is bound to a "DepartmentName" property and the DropDownList binds to an associated "DepartmentId" value from my model.  After the user edits the cell, I want it to show the dirty indicator.  It doesn't happen automatically, which I think is because the column property doesn't match the edit control's id.  But is there a way to force the cell to render as dirty?

Thanks for your help.

Regards,
Brian
Brian Roth
Top achievements
Rank 1
 answered on 11 Apr 2012
3 answers
940 views
Attached is a sample page where I've instantiated a combobox and set the text so that the appropriate item is selected.  Problem is that it seems the control still thinks internally the first item is selected because if won't fire when selecting the first item, but will fire if i select any other item including the currently selected item.

Once the event fires from user selection, it seems to work correctly.

I've tried this with the .select function as well and get the same behavior.

Thanks
Georgi Krustev
Telerik team
 answered on 11 Apr 2012
2 answers
230 views
I am testing a REST call from my server to load a Data Source, and my REST service returns the JSON data like this:

{"person":[{"address":"Address1","name":"Person1"},{"address":"Address2","name":"Person2"},{"address":"Address3","name":"Person3"}]}

This has been okay for some other frameworks I'm testing, with the use of a "root" setting that tells the datasource to grab the JSON object that is "person".

Here is my Kendo code:

$(document).ready(function() {
 
   $("#grid").kendoGrid({
      dataSource: {
         transport: {
            read: {
               url: myURLFunc(),
               dataType: "json"
            }
         },
         schema: {
            model: {
               fields: {
                  name: {},
                  address: {}
               }
          }
      }
   },
   height: 250,
   sortable: true,
   columns: [
      {
         field: "name",
         title: "Person"
      },
      {
         field: "address",
         title: "Address"
      }
      ]
   });
});

Is there anything I can do differently to have the Kendo Data Source load the JSON I currently have?
Zach
Top achievements
Rank 1
 answered on 11 Apr 2012
3 answers
130 views
I find that the following code is causing script errors:

        $("#my-k-grid").kendoGrid({
            dataSource: {
                data: mydata
            },
            change: onMyRowSelected,
            selectable: "multiple, row",
            pageable: false,
            scrollable: true,
            navigatable: true,
            columns: mycols
        });

If I trap the exception, I get a TypeError: "Object doesn't support this action"

If i comment out the use of the selectable option, I don't get an error, however cells are selectable and I would prefer multiple row selection.

I am using the 2012Q1 build.  Everything was previously working correctly using the 2011Q3 build.

EDIT: I am trying to use the kendo chart elsewhere on my page.  Therefore I have the following included in addition to kendo.web.min.js:
kendo.core.min.js
kendo.data.odata.min.js
kendo.data.xml.min.js
kendo.data.min.js
kendo.dataviz.core.min.js
kendo.dataviz.vml.min.js
kendo.dataviz.svg.min.js
kendo.dataviz.chart.min.js

If I remove these script includes, I do not get the 'selectable' error however my chart doesn't load.

Previously When I was on 2011Q3 I would just include kendo.all.min.js but that is not available to me anymore.
Mike
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
98 views

When creating a listview without specifying a template (ok, not very real situation, but still....) you get an error

In this lines:

that.template = kendo.template(options.template || "");
that.altTemplate = kendo.template(options.altTemplate || options.template);

 

The second line should be:

that.altTemplate = kendo.template(options.altTemplate || options.template || "");

Regards, Jaap

Nikolay Rusev
Telerik team
 answered on 11 Apr 2012
9 answers
345 views

If I load en-GB, I get a mixed current culture.

<script src="/components/com_hellokendo/js/jquery.min.js" type="text/javascript">
</script> <script src="/components/com_hellokendo/js/kendo.all.min.js" type="text/javascript"></script> <script src="/components/com_hellokendo/js/cultures/kendo.culture.en-GB.min.js" type="text/javascript"></script>
<script type="text/javascript">
kendo.culture("en-GB");
</script>

cultures.current Object { name="en-GB" ... calendars ... patternsObject { d="dd/MM/yyyy" WRONG

Which is the problem?, it seems to be loading the second culture or my browser localization.

Thanks,
Anibal
T3DdYBeR57
Top achievements
Rank 1
 answered on 11 Apr 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)
SPA
Filter
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
OrgChart
TextBox
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
Popover
DockManager
FloatingActionButton
TaskBoard
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
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?