Telerik Forums
Kendo UI for jQuery Forum
2 answers
220 views
I have a timepicker which is defined in a kendo template.  The timepicker behaves as you would expect for a timepicker (drop down of times).  But when a time is selected from the dropdown, It then displays a full datetime string (Wed Sep 21...).  It does not behave as the timepicker does in the MVVM widget binding example (http://demos.kendoui.com/web/mvvm/widgets.html), which displays a time upon selection.  How can I get the timepicker to display just a time when selection from the dropdown is made?
Andres
Top achievements
Rank 1
 answered on 13 Sep 2012
2 answers
128 views
var chart = $("#chart").data("kendoChart");
chart.title.text = "Test";

Does not do it.
I get a JS exception:

Error: TypeError: chart.title is undefined

Thanks in advance for any help!
Joe Sugden
Top achievements
Rank 1
 answered on 13 Sep 2012
0 answers
106 views
Hello

I got a datasource returning following:

[
  {"id":"1","text":"host1","spriteCssClass":"server"}
  {"id":"2","text":"host2","spriteCssClass":"server"}
]

and following code

$("#treeview-hosts").kendoTreeView({
        dragAndDrop: true,
        dataSource: {
            transport: {
                read: {
                    url: "/main/getEnvHosts",
                    type: 'POST',
                    data: '{"env":"'+env+'"}',
                }
            },
            schema: {
                model: {
                    id: "id"
                }, 
            },
        }
     
});


I need to extract the ID from DataSource and have it assigned to the element, but not entirely sure how to to that. Available documentation is rather confusing...
Igor
Top achievements
Rank 1
 asked on 13 Sep 2012
2 answers
136 views

Hi,

I have a grid marked as Batch Editable. Only one cell is editable, I can do this by the field list of the Datasource like this:

fieldList['cellname'] = { type: 'number', editable: true };

It is working ok. When you change a cell in a row the Grid set a visual clue, like Excel, indicating that the cell has been changed.

The problem is when you, before saving the changes, navigate to another, using the pageable control. If you return
to the previous page the visual sign disappears. Internally the row is marked as dirty but there is visual sign
anymore.

How can I fix That ???

If this is a known bug I need to detect the event of page change so that I can warn the user of non saved fields.
How can I do that ???

Thanks in advance

mvbaffa
Top achievements
Rank 1
 answered on 13 Sep 2012
13 answers
2.0K+ views
Good morning. I need to hide columns in grid kendo?
as I can do that when grouping columns hide the column that is grouped? 

thanks 
Kai
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
124 views
I'm using bxSlider http://bxslider.com/ to manage 'pages" for a long form.
I like it but it doesn't do touch.

Does KendoUI have a  control that can be configured to act like a panel slider? The PanelBar looks promising but I don't want the user to see more than Next<>Previous options

Thanks
Pat NH USA
Iliana Dyankova
Telerik team
 answered on 13 Sep 2012
1 answer
129 views
Hello, I am having some issues with TreeView that I need help resolving:

Issue #1: 

Below code works, and sprites show up, until you drag an item. After that <span> tags get stripped.
<ul id="hosts">
    <li id="host1"><span class="maas-sprite server"></span>host1</li>
    <li id="host2"><span class="maas-sprite server"></span>host2</li>
    <li id="host3"><span class="maas-sprite server"></span>host3</li>
</ul>
  
$('#hosts').kendoTreeView({
        dragAndDrop: true,
});


Issue #2:

When moving last item from one TreeView to another, it is impossible to drag anything back.

How do i fix this?? 

Igor
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
141 views
when I enter an invalid date in kendoDatePicker, the function .val () returns null. How do I see what has been typed. thanks
Georgi Krustev
Telerik team
 answered on 13 Sep 2012
0 answers
155 views
Hi,

i am new to KendoUI. So its maybe a stupid question :). But i don't find a solution.

I create remote datasource and bind it to a Listview with a template element. Like in our examples:

$("#openServiceCallsListView").kendoMobileListView({
dataSource: remoteDataSource,
template: kendo.template($(
"#myRowTemplate").html())
});

The Template looks like this:
<script type="text/x-kendo-tmpl" id="myRowTemplate">
<div>${field1}&nbsp;${field2}&nbsp;${field3}</div>
   </script>

It works and everything is fine. But now i need an unbound column which contains an image link. Something like:

"http://localhost/service/GetPicture?Model=" + encodeURIComponent(${field1} + "&Type=" + encodeURIComponent(${field2})

I don't know, can i call a javascript function in this template? Or is it possible to create a new field in the datasource?

Cu

Georg

Georg
Top achievements
Rank 1
 asked on 13 Sep 2012
1 answer
117 views
Hi,

I hava a grid and a datasource which receives data from a webservice.
The XML data I convert serverside to JSON using PHPs json_encode().
If I display these data in a Kendo grid ONly FireFox and Chrome show the data correclty inside the grid.

Internet Explorer 9 (IE 9) shows  [object Error].
This message comes from my datasource:

...
             
            error:  function(e)
                    {
                        alert(e.errorThrown);                      
                    },
 
...

Can somebody tell me why IE9 does not accept these JSON data but other browsers do without any problem?
Is there any way to get more information what causes the error?

Thanks!
T.
Top achievements
Rank 1
 answered on 13 Sep 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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
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
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?