Telerik Forums
Kendo UI for jQuery Forum
2 answers
92 views
Adding multiple="yes" does not allow you to select multiple entries in a list. Is there a way to enable this functionality or is there another widget that could accomplish the same task?
Atanas Korchev
Telerik team
 answered on 25 Jan 2012
3 answers
254 views
Hi all

the example here is showing the way to change the hint while dragging over different droptargets.
Now I want to append the "hint-element" to the droptarget as  shown while dragging it.
At the moment with this code it always appends the source element, but i don“t know how to add the hint-element.

function droptargetOnDrop(e) {
  $target = $(e.target);
  $draggable = $(e.draggable.currentTarget);
  $target.append($draggable);
}

any ideas, code samples etc?

Thank you, Paddy

Buddhika
Top achievements
Rank 1
 answered on 25 Jan 2012
2 answers
86 views
I am implementing the window object, and I need to hook the drag start and drag end events.  There is no problem hooking drag end, but drag start never fires.  If anyone can help, I would be most appreciative.  Here is a link to a sample of this problem:

http://jsfiddle.net/jkappel/zMx5c/ 
Jay
Top achievements
Rank 2
 answered on 24 Jan 2012
2 answers
480 views
First off, I've been using the new chart (DataViz) tools for a week now.  They are awesome.

My question is two-fold:
1)  Is there a recommended way to show a time series chart that shows the relative time between data points?  If you use the line chart, the data points are the same distance apart regardless of the time span between the two data points.

From a visual perspective, I have been able produce what I need using the "scatterLine" series type.  I've accomplished this by converting my time values into their "ticks" representations.  However, that produces labels on the x-axis like "634629218399630000".

2) In the absence of an obvious way to do a time series, can I create a custom function (anonymous or otherwise) to format the x-axis labels--the "tick" values--to a more friendly date/time representation.

E.g.
xAxis: {
    labels: {
        format: myFormatFunction(tickValue) { return formattedString }
    }
}
Scott
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
94 views
Sample I have <select class="my_dropdown" > </select>

in getdata from ajax i need change How do?.

when i get data from ajax 

success 
$('.my_dropdown').html(data);
Lukas
Top achievements
Rank 1
 answered on 24 Jan 2012
2 answers
536 views
Hi,

Is it possible to show row number in Grid and the total number of rows at the top/bottom of the grid?
For example, in the demo http://demos.kendoui.com/web/grid/virtualization-remote-data.html having a first column indicating the row number (1, 2, 3, 4...) and at the bottom/top of the grid have the total number of rows (for example: 10,000 in the case we have 10000 records).

Thanks.
José Antonio
Top achievements
Rank 1
 answered on 24 Jan 2012
0 answers
154 views
Hi I get json like this
{"ITEM_TYPE" : "", "ITEM_CODE": "", "ITEM_NAME": "",  .....
from an url. There is no data to send.
Then the grid will just throw this in console 
d is undefined
return new Function("d", "return " + kendo.expr(expression, safe));

the error repeats it self if I press 'Add New Record' button.
I am using an handler to get data.
If I use local data and use above string then it works fine. But if I delete the all rows and then try to press 'Add New Record' button I get same error.
Thank you.  
Amol
Top achievements
Rank 1
 asked on 24 Jan 2012
0 answers
127 views
Hi All,

Is it possible to specify the column data type (for filtering/sorting purposes) in the Grid Columns array, rather that the DataSource Schema?  I know I can do it with a Schema - but I would like to just manage one collection of columns and would like to fully configure the Grid in one spot.

My initial thought is no - since the Schema is applied to the DataSource, I would imagine all datatype definitions have to be done at that level rather than the Grid level - but I thought I would ask!
Matt
Top achievements
Rank 1
 asked on 24 Jan 2012
1 answer
185 views
Hi All,

I am binding a Grid to a local DataSource.  It is working great UNTIL I add the groupable: true property to the Grid config.  Once I do that I get the following error in Firebug:
Uncaught TypeError: Cannot call method 'replace' of undefined
d.extend._Deferred.f.resolveWithj
v
d.support.ajax.d.ajaxTransport.send.c

The error suggests that I am trying to use an Ajax transport, but I never specify that.  Do I need to somehow specify a local datasource implicitly?

I am getting this error when I init the grid, before I add data to my datasource.  Everything else works really well (sorting, row templates, etc).

Here is my DataSource:
$.xxxx.voice.localData.agentHGDS = new kendo.data.DataSource({
    data: $.xxxx.voice.localData.agentHGData /* This is my data array*/
});

Here is my Grid:
var rowTemplate = "<tr class='s#= HGInfo.CurrentState #'>" +
        "<td>${ AgentInfo.CSLAgentId }</td>" +
        "<td>${ AgentInfo.CSLAgentName }</td>" +
        "<td>${ HGInfo.Number }</td>" +
        "<td>${ $.xxxx.utils.getCSLStateDisplay(HGInfo.CurrentState) }</td>" +
        "<td>${ $.xxxx.utils.formatJSONTimeCasual(HGInfo.CurrentStateDateTime) }</td>" +
        "<td>${ HGInfo.GroupCalls }</td>" +
        "<td>${ AgentInfo.OutboundCalls }</td>" +
        "<td>${ HGInfo.OpportunitiesMissed }</td>" +
        "</tr>";
 
 
$("#grid-id").kendoGrid({
    dataSource: $.xxx.voice.localData.agentHGDS,
    sortable: { mode: "multiple" },
    height: 250,
    groupable: true, /* if I take this line out, the error goes away and all is right with the world */
    rowTemplate: rowTemplate,
    columns: [{ field: "AgentInfo.CSLAgentId", title: "AgentId", width: 20 },
          { field: "AgentInfo.CSLAgentName", title: "AgentName", width: 20 },
          { field: "HGInfo.Number", title: "HuntGroup", width: 20 },
          { field: 'aaa', title: "State", width: 20 },
          { field: "HGInfo.CurrentStateDateTime", title: "StateTime", width: 20 },
          { field: "HGInfo.GroupCalls", title: "# GroupCalls", width: 20 },
          { field: "AgentInfo.OutboundCalls", title: "# OutboundExt", width: 20 },
          { field: "HGInfo.OpportunitiesMissed", title: "# OppMissed", width: 20} ]
});

Any ideas?  Is it data related (data values I mean).
Matt
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
217 views
I am working on creating a new site and would like to use the Kendo tools for it. One of the design elements presented to me is a "tabbed" window. In this case, the tabs are built into the window title bar and the content of the window changes based on what tab is clicked. Is there a way to get the tab control and the window control to work together so that the tabs cab be put into the title of a window and the content of the window change based on the tabs?
Dimo
Telerik team
 answered on 24 Jan 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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
Drawer (Mobile)
Drawing API
Globalization
Gauges
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
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?