Telerik Forums
Kendo UI for jQuery Forum
1 answer
66 views
Hi telerik team,

How to show visualized lines  between the data points and the labels for bar graphs.


Thanks,
Rajesh
Iliana Dyankova
Telerik team
 answered on 21 Mar 2012
1 answer
325 views
I have a very odd problem, my editable grid has a date field (ExpiryDate), so there is one in every line (row).
If i edit a row and i change the contents of the datefield, i 'lose' the variable ExpiryDate from my POST vars completely. (if i dont edit the date field, but i edit other fields (text) my code works perfectly.)
According to Firebug, the parameter called ExpiryDate is not even in the Post values (unless of course i didnt trigger the date picker flyout.
Obviously there is something i'm doing wrong. Please could someone take a look.
This happens if i edit inline, popup or incell.
Maybe i should be initializing the datepicker evertime i use it? but where?
Please help?

(i have a php/mysql datasoure and CRUD setup)

      
            $("#grid").kendoGrid({
                dataSource: {
                    transport: {
                        read: "data/users.php",
                        update: {
                            url: "data/users.php",
                            type: "POST"
                        },
                        destroy: {
                            url: "data/users.php",
                            type: "DELETE"
                        },
                        create: {
                            url: "data/users.php",
                            type: "PUT"
                        }
                    },
                    error: function(e) {
                        alert(e.responseText);
                    },
                    schema: {
                        data: "data",
                        model: {
                            id: "ID",
                            fields: {
                                EmailAddress: { validation: { required: true}, type: "string" },
                                FirstName: { validation: { required: true}, type: "string"  },
                                SecondName: { validation: { required: true}, type: "string" },
                                AdvertType: { validation: { required: true}, type: "string"},
                                SubscriptionType: {  validation: { required: true}, type: "string" },
                                ActivationCode: { validation: { required: true}, type: "string" },
                                ExpiryDate: { editable: true, type: "date", parse: function(value) { return kendo.toString(value) } }
                            }
                        }
                    }
                },
                    
                pageable: true,
                height: 400,
                toolbar: ["create"],
                columns: [
                    { field: "EmailAddress", width: "250px" },
                    { field: "FirstName", width: "150px" },
                    { field: "SecondName", width: "150px" },
                    { field: "AdvertType", width: "100px" }, //, editor: advertTypeEditor },                    
                    { field: "SubscriptionType",  width: "100px" },
                    { field: "ActivationCode", width: "150px" },
                    { field: "ExpiryDate", width: "150px", format: "{0:dd-MM-yyyy}" },
                    { command: ["edit", "destroy"], title: " ", width: "200px" }
                ],
                //editable: "popup",
                editable: "incell",
                detailTemplate: kendo.template($("#template").html()),
                detailInit: detailInit,
                        toolbar: ["create", "save", "cancel"],

            });
Vauneen
Top achievements
Rank 1
 answered on 21 Mar 2012
1 answer
208 views
Hi,
I have a grid that uses in-line editing.
i need to add a dropdownlist (with datasource) to one of the columns when it's being edited.

Has anyone done this yet?
Please help me out.
I've tried a few ways.

I thought this would work:

in my column definitions:

                columns: [
                   ...
                    { field: "AdvertType", width: "100px", editor: advertTypeEditor },       

later:
                function advertTypeEditor(container, options) {
                                $('<input name="' + options.field + '" id="Adverttypes" >').appendTo(container);
                            }

and then this:
   
           $(".Adverttypes").kendoDropDownList({
                dataTextField: "Adverttype",
                dataValueField: "ID",
                dataSource: {
                    transport: {
                        read: "data/adverttypesfordropdowns.php"
                    },
                    schema: {
                        data: "data"
                    }
                }

            });

But it's not working.

Please advise me....

Thanks,
Vauneen
Vauneen
Top achievements
Rank 1
 answered on 21 Mar 2012
0 answers
139 views
Hi,

I have a filter in the grid. And that filter is on column of type : date. When i click on the calendar icon the datepicker is displayed. Now when i move to other month on clicking the next or previous arrow, it shows two months. I mean it shows the other month below the current month. but once it has moved to next month, it becomes alright. What is the issue here? Attaching the screen shot. Please help.
Khushali
Top achievements
Rank 1
 asked on 21 Mar 2012
0 answers
124 views
I have a grid inside a jquery UI tab, and I'd like to have a horizontal scrollbar in the Grid.
I don't understand how it should work, it seems nothing change when I set the grid columns width.

see the problem in the picture attached

Thanks in advance
jc mag
Top achievements
Rank 1
 asked on 21 Mar 2012
0 answers
134 views
Hi,
what are the validation properties on a model item in datasource. how can one enforce unique constraint on a model item in the datasource.
 Thanks,
Joshua O
Joshua Oguche
Top achievements
Rank 1
 asked on 21 Mar 2012
8 answers
187 views
Hello,

Is there any up to date tutorial that would explain, step by step, how to create an oData Service with Open Access, then how to consume that oData Service with the KendoUI grid?

Best Regards,

Simon
Iliana Dyankova
Telerik team
 answered on 21 Mar 2012
1 answer
81 views
I have a grid hooked up to a XML fed DataSource.
For the case of 'no rows' returned the response body is null/blank
When the data source encounters this response, it goes to 'lala' land and does not respond properly when read is requested again

See
http://devenezia.com/kendo/zeroRowsProblem.html

What are some grid/datasource strategies for dealing with no data conditions ?

Thanks,
Richard
Richard
Top achievements
Rank 1
 answered on 21 Mar 2012
3 answers
161 views
Hello,

   I have requirement like show the Annotation in bar chart.

   Does kendo UI chats supports Annotation..?


Thanks,
Rajesh
T. Tsonev
Telerik team
 answered on 21 Mar 2012
0 answers
92 views
Hi,

I have a Kendo grid, with one of the field having type:"date". I have also given filtering on client side as true. But, when i do filtering it shows error that "cannot parse d.fieldName.getTime". Am i missing something? In my grid, the column values have both date as well as time in the format : mm/dd/yyyy hh:mm:ss. Do i need to specify any format?

Regards,
Khushali
Khushali
Top achievements
Rank 1
 asked on 21 Mar 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
AICodingAssistant
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?