Telerik Forums
Kendo UI for jQuery Forum
3 answers
100 views

Hi,

I am using the latest Version of the trial Kendu UI.

A empty gantt needs up to 10sec to get rendered. Sometimes the site crashs cause of gantt. However, grids are working fine. 

Are there some known issues using gantt in combination of IE9? Simple examples like http://dojo.telerik.com/usOWA are not working proper.

In chrome the performance is much better but I have to deal with IE9.

 

I'm looking forward to an answer ore some hints.

Dimitar Terziev
Telerik team
 answered on 14 Dec 2015
5 answers
554 views

I have a Grid that I have a filter row on (mode: "row").  All of the filters function correctly except for a column that contains dates.  I have the datepicker showing, however when I select a date from the datepicker nothing happens and I get the following javascript error:

 Uncaught TypeError: Cannot read property 'flatView' of undefined

 Here is my code:

 $("#inbox").kendoGrid({
                    sortable: true,
                    selectable: "row",
                    navigateable: true,
                    height: "99%",
                    filterable: {
                        mode: "row"
                    },
                    schema: {
                        model: {
                            fields: {
                                MessageID: { type: "string" },
                                MessageText: { type: "string" },
                                EventTime: { type: "date" },
                                Subject: { type: "string" },
                                CaseID: { type: "string" },
                                ClaimID: { type: "string" }
                            }
                        }
                    },
                    columns: 
                    [{
                        field: "MessageID"
                    },
                    {
                        field: "MessageText"
                    }, {
                        field: "EventTime",
                        format: "{0:M/d/yyyy}",
                        width: "200px",
                        filterable: {
                            cell: {
                                operator: "contains",
                                showOperators: false,
                                template: function(args) {
                                    args.element.kendoDatePicker({
                                        format: "{0:M/d/yyyy}",
                                        parseFormats: "{0:M/d/yyyy}",
                                        valuePrimitive: true,
                                        dataTextField: "EventTime",
                                        dataValueField: "EventTime"
                                    });
                                    }
                                }
                            }
                        }, {
                            field: "CaseID",
                            width: "200px",
                            filterable: {
                                cell: {
                                    operator: "startswith",
                                    showOperators: false
                                }
                            }
                        }, {
                            field: "ClaimID",
                            width: "200px",
                            filterable: {
                                cell: {
                                    operator: "startswith",
                                    showOperators: false
                                }
                            }
                        }, {
                            field: "Subject",
                            filterable: {
                                cell: {
                                    operator: "contains"
                                }
                            }
                        }],
                    change: function () {
                        var row = this.select();
                        var id = row[0].cells[0].innerText;
                        var message = row[0].cells[1].innerHTML;
                        $("#<%= hdnSelectedMessage.ClientID %>").val(id);
                        $("#<%= lblMessage.ClientID %>").html(message);
                    }
                });

 

Rosen
Telerik team
 answered on 14 Dec 2015
1 answer
64 views

Hi

I am making a editable.template referring to the reference.

http://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration-editable.template

What would be good if you want To localize (ja-JP) this input datepicker?

http://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker#configuration-culture

Dimitar Terziev
Telerik team
 answered on 14 Dec 2015
16 answers
530 views
Hi,
Like many others here - I've got a lot of extra 'stuff' to present when editing scheduler items.

I don't necessarily want to completely replace the built in editor, since I don't want to have to re-invent the All Day / Recurrence functionality that seems to work quite nicely out of the box.

I do however need to present some additional relationships using grids and filtered / typeahead dropdowns that don't seem to be a good fit for the 'Resource' model.

Is it possible to utilize the built in IsAllDay and Resource functionality inside a custom form?

Or is it better to attempt to inject a partial view / html fragment just above the save/cancel buttons by handling the edit event?

Thanks,
Mike
Vladimir Iliev
Telerik team
 answered on 14 Dec 2015
3 answers
84 views

How to apply filter on the multiselect column editor of the grid?

We are binding an array object to this column. As multiselect needs the array object to bind data.

Could you please suggest the solutions if this is possible with some custom code. 

 

Georgi Krustev
Telerik team
 answered on 14 Dec 2015
4 answers
718 views
Hello,
it's possible to have a TabStrip with items added dinamically? and also the possibility to remove panels?
Thanks
Stefan
Top achievements
Rank 1
 answered on 13 Dec 2015
1 answer
190 views

Hello,

We have Kendo Editor in-place that needs to upload images to secured API resides in another domain. This means the request has to have some authorization token in the header so the call can be authorized correctly.

We understand that Editor's uploadURL property is limited to string only. So nothing much can be done to inject a custom header.

However, since Kendo UI core uses jQuery, we tried to implement $(document).ajaxSend to capture those AJAX requests coming from Kendo Editor and modify the header before sending the original request, but it seems it's not working and the code there never been hit.

Can you help with that? Is there a better way to achieve the same purpose?

Thanks

Dimo
Telerik team
 answered on 12 Dec 2015
9 answers
173 views
Hi Telerik-Team,

I want to implement a Stock chart in a Frontend(WebForm .aspx) like your "Virtualization"-Demo (http://demos.kendoui.com/dataviz/financial/virtualization.html).

In my implementation, the Navigator should give me the possibility to choose a from-to range, that should be displayed more detailed in the top chart.
--------------------------------------
1. By calling a handler(via Ajax), the Frontend  get a JSON response (Mulitdimension array). -->JSON.jpg
2. the JSON is displayed correct in the top chart.
3. BUT the navigator is not showing any graph! :-/--->StockchartScreenshot.jpg

Do you see any wrong coding by me or know what could be the cause?
P.s.: When I`m using the newst (.716) version of KendoUI, the top graph is not displayed too.
------------------------------------

Here is a Code snippet.

1. After onClick() the CallHandler funtion is called
2. when success-->OnComplete() the data are set to the stocks var and the chart is created.
3. the series is displayed but not the navigator series.
<script>
        $(document).ready(function () {
            createChart();
            // create DatePicker from input HTML element
            $("#datepicker").kendoDatePicker({
                culture: "en-GB",
                format: "MM/dd/yyyy"
            });
        });
         
        function CallHandler() {
            $.ajax({
                url: "Handler/Handler.ashx",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                data: { 'date': document.getElementById("datepicker").value },
                responseType: "json",
                success: OnComplete,
                error: OnFail
            });
            return false;
        };
        var stocks = [[], [],[]];
        function OnComplete(result) {
            stocks = result;
            createChart();
            document.getElementById("testfeld").innerHTML = "";
        }
 
        function OnFail() {
            document.getElementById("testfeld").innerHTML = "Some error has occured";
        }
 
        function createChart() {
            $("#stock-chart").kendoStockChart({
                title: {
                    text: "Carna v 0.1"
                },
                legend: {
                    visible: true,
                    position: "bottom"
                },
                chartArea: {
                    background: ""
                },
                series: [{
                    name: "line1",
                    type: "line",
                    width: 1,
                    color: "Orange",
                    data: stocks[1],
                    markers: { visible: false }
                },
                    {
                        name: "line2",
                        type: "line",
                        width: 1,
                        color: "Green",
                        data: stocks[2],
                        markers: { visible: false }
                    }
                ],
 
                tooltip: {
                    visible: true,
                    format: "{0}",
                    template: "#= series.name #: #= value #"
                },
                valueAxis: {
                    labels: {
                        format: "{0}"
                    },
                    line: {
                        visible: false
                    },
                    axisCrossingValue: 0
                },
 
                dateField: stocks[0],
                categoryAxis: {
                    step: 1,
                    categories: stocks[0],
                    majorGridLines: {
                        visible: true
                    },
                    field: stocks[0],
                    type: "Category",
                    baseUnit: "minutes",
                    labels: {
                        step: 10,
                        font: "6.25pt Verdana",
                        rotation: -45
                    },
                    title: {
                        text: "Time",
                        font: "6.25pt Verdana"
                    }
 
                },
                navigator: {
                    series: [{
                        type: "line",
                        data: stocks[1],
                        color: "Orange",
                        name: "line1 overview",
                        visibleInLegend: true
                    },
                    {
                        type: "line",
                        data: stocks[2],
                        color: "green",
                        name: "line2 overview",
                        visibleInLegend: true
                    }]
                }
            });
        }
    </script>

Thank you.

Regards
Iliana Dyankova
Telerik team
 answered on 12 Dec 2015
1 answer
804 views
We have a requirement to control maximum length character restriction in Grid bound column while user entering values in field. It would be better if maximum length can be controlled without using editor template.
Please provide a sample code to achieve our requirement.
Boyan Dimitrov
Telerik team
 answered on 12 Dec 2015
2 answers
141 views

I have multiple charts with the same legend. I've hidden the legend in all but the first chart. I want the first chart's legend to control the rest of the charts' legends. The only way I've found to do this is to call "private" methods on the charts: _legendItemHover and _legendItemClick. This works pretty good, but the hover is a little bit off. When your mouse leaves a legend item it will un-highlight the item in the main chart, but not the secondary charts.

 

I've created a jsFiddle to demonstrate.

http://jsfiddle.net/zmmzxhek/

 

My guess is that the 'this' keyword is being used in the private method and that's throwing it off. I haven't done any research on that, just an educated guess. I'll be checking that now but wanted to see if anyone else had any other input.

Glenn Boothe
Top achievements
Rank 1
 answered on 11 Dec 2015
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?