Telerik Forums
Kendo UI for jQuery Forum
1 answer
468 views
I am defining the code as below, the url fires but i dont get a message in the console for the success event? What did I do wrong?

var dataSource = new kendo.data.DataSource({
                           
                            transport: {
                                read:  {
                                    url: "cfcs/loadCSR.cfm",
                                    cache: false                                    
                                },
                               destroy:  {
                                    url: "cfcs/deleteCSR.cfm",
                                    cache: false,
                                    type: "POST",
                                    success: function(result){
                                        console.log("lol");
                                    }
                                }
                            },
                            batch: true,
                            pageSize: 30,
                            schema: {
                                data: "data",
                                model: {
                                    id: "BADGEID",
                                    fields: {
                                        BADGEID: {
                                            type: "number"
                                        },
                                        EMPLOYEENAME: {
                                            type: "string"
                                        },
                                        UNITID: {
                                            type: "number"
                                        },
                                        UNITNAME: {
                                            type: "string"
                                        }
                                    }
                                }
                            }
                         
                    });
Warren
Top achievements
Rank 2
 answered on 19 Nov 2012
3 answers
2.4K+ views
Here is an example of a JSON date passed to the client:

    "date":         {
        "date": 14,
        "day": 2,
        "hours": 0,
        "minutes": 0,
        "month": 7,
        "seconds": 0,
        "time": 1344920400000,
        "timezoneOffset": 300,
        "year": 112
    }

How can I display this date in a Kendo grid as MM/dd/yyyy? I have tried:
$("#resultsGrid").kendoGrid( {
  dataSource: {
            type: "json"
    },
     columns: [
            {
                field: "date",
                title: "Date",
                format: "{0:MM/dd/yyyy}"
}]});


However, the grid displays [object Object].

Basem
Top achievements
Rank 1
 answered on 19 Nov 2012
1 answer
305 views
I am utterly confused to how to change the background-color of the body of a tab, specifically on Android. I want to leave the appearance of the tabs untouched, however I simply want to change the background-color of the entire body of each tab.

Can't really believe I'm asking this as it's so simple, but I am confused to what element I need to reference and I can't find any docs.

Many thanks
Todd Anglin
Top achievements
Rank 2
 answered on 19 Nov 2012
3 answers
665 views
I am implementing server side filtering and found the explanation of the filter data to expect from Kendo to be incomplete at best.  Depending on how many columns you sort on and in which order you do it, the filter parameters in the URL parameters vary considerably.  Noting that there's no direct way to translate them into maps and arrays, how exactly did you intend for us to parse them out?

If any of you have successfully implemented server side filtering, please respond with any info you could share about how you parsed out the filter parameters.
Jerry
Top achievements
Rank 1
 answered on 18 Nov 2012
0 answers
80 views
When I insert a new record in popup mode, for some fields does not change the status (red triangle), the value is not updated and the data is transmitted "empty" to the webservice.
If I press "backspace", the field changes status to "modified" (red triangle) and sent to the webservice.
In the "2012.2.814" worked well.

Thank you.
Michele.
Mike
Top achievements
Rank 1
 asked on 18 Nov 2012
1 answer
165 views
How do you suggest cache busting remotely loaded views?
Jonathan
Top achievements
Rank 1
 answered on 18 Nov 2012
0 answers
136 views
the refresh() method seems not working, it actually add the view instead of replace it.

here is an example: 
http://jsfiddle.net/fnH58/13/

it adds "123" text to the list instead of replace all text to "123".
Jay
Top achievements
Rank 1
 asked on 18 Nov 2012
0 answers
128 views
Ken
Kendo grid with a editor template containing kendo numberc text box with decimal modeltype is not sending data to controller on save when ie language is set to "fr".
Surabhi
Top achievements
Rank 1
 asked on 17 Nov 2012
0 answers
103 views
How to open a kendoui windows in panelbar when click on an panelbar item
Deneme
Top achievements
Rank 1
 asked on 17 Nov 2012
0 answers
151 views
I have tried tons of different remote data formats and still can't figure out what format the kendo stacked bar chart requires. I am trying to make a chart with 14 bars, stacked 24 high, each piece of the stack being the same height, representing an hour of the day and I want each piece to be color coded by a color value I pass in from the server.
What format does the data coming from the server need to look like?
jonny
Top achievements
Rank 1
 asked on 17 Nov 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
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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?