Telerik Forums
Kendo UI for jQuery Forum
2 answers
318 views

I wanted to remove the save and cancel options that are  appearing by default in kendo scheduler pop up.I had gone through the Scheduler Api source but didn't find the way in which I could achieve it.Any help will be appreciated.Please find the attachment for more info.

Thanks

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 02 Aug 2016
1 answer
1.1K+ views

 I have to issues with Kendo grid filtering. I'm using Kendo 2015.2.902 version and installed Kendo.DynamicLinq 1.1.2.0.

First issue is related on parameters which I received from Kendo grid. Filter data are deserialized into Kendo Filter class in my controller action. After deseralization Value property became array of strings and ToDataSourceResult method throws exception: "Operator '>' incompatible with operand types 'DateTimeOffset' and 'String[]". It was happened for any filtering. I temporarily fixed by removing array and injecting string.

 

Second issue happened after I "fixed" first one. Method ToDataSourceResult throws exception: "Operator '>' incompatible with operand types 'DateTimeOffset' and 'DateTimeOffset' ".

I followed http://blog.codebeastie.com/kendo-grid-sorting-and-filtering/ and implemented my controller action as explained. Also I implemented JsonNetValueProviderFactory as described here https://github.com/kendo-labs/dlinq-helpers/issues/6.

Do you know how can I fix that and is it because of different Kendo versions?

Stefan
Telerik team
 answered on 02 Aug 2016
1 answer
478 views

I'm using Kendo scheduler with angular js  and here is my schedulerOptions.

My requirement-I want to trigger a function on change of a date/select week /select day/month option .

But unfortunately the change function is not triggering any event.

Here is the code..

   

      $scope.schedulerOptions = {
                    date: new Date(),
                   startTime: new Date(),
                    height: 800,
                    views: [
                        "day",
                        "week",
                        "month",
                        { type: "month", selected: true }
                    ],
                    change: scheduler_change,
                    eventTemplate: $("#event-template").html(),
                    editable: {
                        destroy: false, //removes close button from the label
                        template: $("#editor").html()
                    },
                    edit: onEditClick,
                    timezone: "Etc/UTC",
                    dataSource: {
                        batch: true,
                        data: outputTypeArray,
                        schema: {
                            model: {
                                id: "id",
                                fields: {
                                    id: { from: "id", type: "number" },
                                    title: { from: "name", defaultValue: "NA", validation: { required: true } },
                                    name: { from: "name", defaultValue: "NA", validation: { required: true } },
                                    status: { from: "status", defaultValue: "NA", validation: { required: true } },
                                    trip: { from: "trips", defaultValue: "NA", validation: { required: true } },
                                    client: { from: "client", defaultValue: "NA", validation: { required: true } },
                                    start: { type: "date", from: "start" },
                                    end: { type: "date", from: "end" },
                                    colorId: { from: "colorId" }
                                }
                            }
                        }
                    },
                    footer: false
                };
            }
 
 
      function scheduler_change(e) {
                var start = e.start; //selection start dates
                var end = e.end; //selection end date
                var slots = e.slots; //list of selected slots
                var events = e.events; //list of selected Scheduler events
 
                var message = "change:: selection from {0:g} till {1:g}";
 
                if (events.length) {
                    message += ". The selected event is '" + events[events.length - 1].title + "'";
                }
 
                console.log(kendo.format(message, start, end));
            }
 

 

Can you please help me on this..

Dimiter Topalov
Telerik team
 answered on 02 Aug 2016
1 answer
228 views

Hi,

is there a way to position X-Axis labels on the top of the chart instead of bottom?

 

Thank you!

Iliana Dyankova
Telerik team
 answered on 02 Aug 2016
7 answers
457 views

Hi,

I'm trying to change the gaps between the pionts of a line chart series depending on user input (watch pic). I searched for quiet a while but I cant find any answers.

pls help.

fabian
Top achievements
Rank 1
 answered on 02 Aug 2016
3 answers
366 views
How can I disable grid (like editors enabled property). I want to prevent everything (scrolling, sorting, paging, grouping, selection ...)?
Boyan Dimitrov
Telerik team
 answered on 02 Aug 2016
1 answer
339 views

I'm using Kendo scheduler with angular js  and here is my schedulerOptions.

My requirement-I want to trigger a function on change of a date/select week /select day/month option .

But unfortunately the change function is not triggering any event.

Here is the code..

      $scope.schedulerOptions = {
                    date: new Date(),
                   startTime: new Date(),
                    height: 800,
                    views: [
                        "day",
                        "week",
                        "month",
                        { type: "month", selected: true }
                    ],
                    change: scheduler_change,
                    eventTemplate: $("#event-template").html(),
                    editable: {
                        destroy: false, //removes close button from the label
                        template: $("#editor").html()
                    },
                    edit: onEditClick,
                    timezone: "Etc/UTC",
                    dataSource: {
                        batch: true,
                        data: outputTypeArray,
                        schema: {
                            model: {
                                id: "id",
                                fields: {
                                    id: { from: "id", type: "number" },
                                    title: { from: "name", defaultValue: "NA", validation: { required: true } },
                                    name: { from: "name", defaultValue: "NA", validation: { required: true } },
                                    status: { from: "status", defaultValue: "NA", validation: { required: true } },
                                    trip: { from: "trips", defaultValue: "NA", validation: { required: true } },
                                    client: { from: "client", defaultValue: "NA", validation: { required: true } },
                                    start: { type: "date", from: "start" },
                                    end: { type: "date", from: "end" },
                                    colorId: { from: "colorId" }
                                }
                            }
                        }
                    },
                    footer: false
                };
            }

 

      function scheduler_change(e) {
                var start = e.start; //selection start dates
                var end = e.end; //selection end date
                var slots = e.slots; //list of selected slots
                var events = e.events; //list of selected Scheduler events

                var message = "change:: selection from {0:g} till {1:g}";

                if (events.length) {
                    message += ". The selected event is '" + events[events.length - 1].title + "'";
                }

                console.log(kendo.format(message, start, end));
            }

 

Can you please help me on this..

Georgi Krustev
Telerik team
 answered on 02 Aug 2016
3 answers
178 views

Hi. I am working on an Angular project which used Kendo Grid. I am aware that I can use the columnMenu property to give users the ability to filter columns that they want to see. Is there any way I can show some columns as default?

This is my first post. please bear with me.

 

-AZ

Kiril Nikolov
Telerik team
 answered on 02 Aug 2016
5 answers
161 views

Hi,

KendoUI comes with Angular v1.4. Can I replace that with Angular v1.5 without getting any issues with the KendoUI widgets?

Best Regards

Kiril Nikolov
Telerik team
 answered on 02 Aug 2016
1 answer
142 views

Hi all,

It seems that TreeView can't show nodes children if model has a property called exactly 'children'.

For example it doesn't show child nodes if bound to model like this:

var inline = new kendo.data.HierarchicalDataSource({
    data: [
        {
          categoryName: "Storage",
            subCategories: [
            { subCategoryName: "Wall Shelving" },
            { subCategoryName: "Floor Shelving" },
            { subCategoryName: "Kids Storage" } ],
            children:[]
        },
        {
          categoryName: "Lights",
            subCategories: [
            { subCategoryName: "Ceiling" },
            { subCategoryName: "Table" },
            { subCategoryName: "Floor" }],
          children:[]                       
        }
    ],
    schema: {
        model: {
            children: "subCategories"
        }
    }
});

 

This is an example:

http://dojo.telerik.com/OQuFo

 

It's a bug or is intended?

 

Adolfo Marinucci

 

 

 

Alex Gyoshev
Telerik team
 answered on 02 Aug 2016
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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?