Telerik Forums
Kendo UI for jQuery Forum
8 answers
499 views
Hi, i'm a novice with kendo and grails, sorry if i make a dumb question

I want to use a remote datasource for the resources in the scheduler, and i have this:

        resources: [
            {
                field: "roomId",
                name: "Rooms",
                title: "Room",
                dataSource: {
                    type: "json",
                    transport:
                    {
                        read: {
                            url: "${createLink(controller:'panelControl', action:'getResources')}",
                            dataType: "json",
                            type: "GET"
                        }
                    }

And, in my controller i have this:

def getResources = {

   def map = [text:"Gromit", value:1, color:"#f58a8a"]

   return [myStringArray:map] as JSON

 }


When i run mi app, i have a 404 error: 
The requested resource (/ReservaYJuga/WEB-INF/grails-app/views/panelControl/getResources.jsp) is not available.

If i change my controller to render the view, doing something like that:

def getResources = {
def map = [text:"Gromit", value:1, color:"#f58a8a"]
render map as JSON
}

I get this: 
{"text":"Gromit","value":1,"color":"#f58a8a"}


Can somebody help me?

Thank you!




Vladimir Iliev
Telerik team
 answered on 23 Jun 2014
3 answers
119 views
Hi:

You have updated the Widget Api documentation and it has gone from just OK to worthless.

Phil
Kiril Nikolov
Telerik team
 answered on 23 Jun 2014
1 answer
308 views
I am attempting to set the business hours for each individual day. I imagine that I'd have to create a custom view, but I am not sure where to start that exactly.

Thanks.
Vladimir Iliev
Telerik team
 answered on 23 Jun 2014
3 answers
635 views
Hi

I am looking for some demo to customize the tabs like a wizard to move from one tab to another tab.

with a back and next button below of all the tabs to move from one tab to another and by disabling the Tab select or click directly by users on the top.

Thanks,
Chatrapathi chennam
Dimo
Telerik team
 answered on 23 Jun 2014
1 answer
190 views
Hi,
I'm hoping to find a way to keep styles on Html that is pasted in to the editor. It also loses some part of image.

Here is a short video: https://www.youtube.com/watch?v=qZq5LxoTCbo

Please let me know if there is a tip or workaround to this.
Thanks
Alex Gyoshev
Telerik team
 answered on 23 Jun 2014
3 answers
2.2K+ views
Hey guys,

Having an issue and wondering if I am doing something wrong. What I'm trying to achieve is initialize the grid on the page load and set the datasource at some other point (e.g. button click) using the setDataSource method but it won't load. Am I missing something or doing it wrong?

Working fine - Grid initialize using grid datasource option:
http://jsfiddle.net/dannycabrera/77Gbn/

Not working - Grid setDataSource method:
http://jsfiddle.net/dannycabrera/77Gbn/2/

Thanks for the help.
Warren
Top achievements
Rank 2
 answered on 21 Jun 2014
3 answers
340 views
I'm making an ajax call every x number of seconds to get lat/lon coordinates from a server and I would like to use this data to update the position of a marker in realtime. I only have a single marker on the map, so how would I access that marker and move it as the coordinates change?

I currently have something like this:
$("#map").data("kendoMap").markers.items[0].location([0, 0])

But its not working for me, is there a method I can call?
Andre
Top achievements
Rank 1
 answered on 20 Jun 2014
6 answers
183 views
Here is my grid definition...

<div id="grid-members" data-role="grid"
                 data-sortable="true"
                 data-scrollable="false"
                data-editable="true"
                 data-columns='[
                                    { field: "Contact.FullName", title: "Name" },
                                     { field: "IsSomething", title: "Is Something" },
                                    { field : "StartDate", title: "Start Date", width: "120px" },
                                  ]'
                 data-bind="source: Contacts"
                data-source="{schema: {model: {fields: {Contact.FullName : {editable:false}, IsSomething : {type : 'boolean'}, StartDate: {type: 'date'}}}}}"
                ></div>

My object is something like...
{
   Contact : { FullName : 'My Name'},
   IsSomething : true,
   StartDate : '1/1/2014'
}

How can I tell my Contact.FullName field to be not editable?

Thanks
Joe
Joe
Top achievements
Rank 1
 answered on 20 Jun 2014
1 answer
400 views
Hi Team,

I want to disable tool-tip only when the grid column is in edit mode. 
Please help me out.

Regards,
Siva
Iliana Dyankova
Telerik team
 answered on 20 Jun 2014
1 answer
184 views
Hello

I want to export chart  as  PDF  , JPEG format . There is any way , Export chart as PDF using JS/HTML5 framework 
I don't want use any other language like Dot Net ,PHP , JSP ....etc . 
Please help me out ..

Thank you 
T. Tsonev
Telerik team
 answered on 20 Jun 2014
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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
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
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?