Telerik Forums
Kendo UI for jQuery Forum
0 answers
226 views

Hi folks,

You might experience an issue with missing or malformed Unlink and PDF toolbar tools with version 2016.3.914 of Kendo UI Editor.

The Problem
The issue could be observed on the following demos:

and is also logged with Medium severity here.
Here is how the PDF icon looks when the problem happens:

The Workround

A possible partial workaround is to add the following to the page styles:

.k-i-unlink { background-position: -288px -72px; }
.k-i-pdf { background-position: -288px -240px !important; }


Note that the solution works for all themes except the Office365.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 30 Sep 2016
3 answers
373 views

Example: http://jsfiddle.net/rqqw5v7x/

How does one grab just the data within the "Customers:" array from JSON?

Abridged version of what comes from http://northwind.servicestack.net/customers.json :

 

{"Customers":[
{"Id":"ALFKI","CompanyName":"Alfreds Futterkiste","ContactName":"Maria Anders","ContactTitle":"Sales Representative","Address":"Obere Str. 57","City":"Berlin","PostalCode":"12209","Country":"Germany","Phone":"030-0074321","Fax":"030-0076545"},
{"Id":"ANATR","CompanyName":"Ana Trujillo Emparedados y helados","ContactName":"Ana Trujillo","ContactTitle":"Owner","Address":"Avda. de la Constitución 2222","City":"México D.F.","PostalCode":"05021","Country":"Mexico","Phone":"(5) 555-4729","Fax":"(5) 555-3745"}
"}],"ResponseStatus": {}}

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 30 Sep 2016
1 answer
105 views

Brand new to the KendoUI grid tool. Some of the other developers on my team have this working, but they are building the datasource and grid as variables and then using jQuery to associate these values to the grid. I'm trying to learn the basics and build it in JSP from scratch. I think I've more or less duplicated their grid settings. The problem I'm having is that when setting "data : data" in the schema, the grid doesn't popup at all. If I take that line out, the grid shows up but no data gets populated in the grid. 

I was hoping someone can look over this code and tell me where I'm going wrong. At the least, what does it mean when the grid doesn't popup at all when setting "data : data"?

 

<div id="tableGrid">
<div id="grid"></div>
   <script>
var dataSource = new kendo.data.DataSource({
transport : {
read : {
type : "POST",
contentType: "application/json",
                       url: "/This URL should work because it works elsewhere"
},
parameterMap : function(options, operation) {
return JSON.stringify(options);
}
},
schema : {
data : data,
type : "json",
model : {
fields : {
Field1: { type: "number"}
}
}
},
serverFiltering : true,
serverGrouping : true,
serverSorting : true,
serverPaging : true,
pageSize : 10
});

alert(JSON.stringify(dataSource));

$("#grid").kendoGrid({
 dataSource: dataSource,
 pageable: true,
});
</script>
   
</div>

Alex Hajigeorgieva
Telerik team
 answered on 30 Sep 2016
1 answer
306 views
Hi,

I would like to use minScreenWidth option for some of my columns for better responsiveness. I have no problem using it with js initialization similar to this example

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.minScreenWidth

However, if I initialize my grid from table, this option doesn't work. I'm trying to do it like this ...

<thead>
    <tr>
        <th data-min-screen-width="700">Customer</th>
        <th>Code</th>
        <th>Stock Order</th>
        <th>Sales Order</th>
        <th data-type="date" data-template="#= kendo.toString(SOReqShip, 'dd/MM/yyyy')#">SO Req Ship</th>
        <th data-type="date" data-template="#= kendo.toString(ArriveDate, 'dd/MM/yyyy')#">Arrive Date</th>
        <th data-type="number">Days Overdue</th>
        <th data-type="number">Quantity</th>
        <th data-field="hiddenDetails"></th>
    </tr>
</thead>

 

Could some one let me know what is the right way to use it?

Thank you.

Iliana Dyankova
Telerik team
 answered on 30 Sep 2016
1 answer
120 views

Hi,

 

I have a requirement to group the columns (Like multicolumn headers--> http://demos.telerik.com/kendo-ui/grid/multicolumnheaders ) in a Tree List (for treelist using --> http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-messages.commands).

I tried it but not able to. Any idea on how can we achieve this?

 

Thanks!

Iliana Dyankova
Telerik team
 answered on 30 Sep 2016
5 answers
190 views
Hello

Is there any manner in which I can group the value of similar categoryAxis as seen in attachment.

Regards
Iliana Dyankova
Telerik team
 answered on 30 Sep 2016
3 answers
234 views

Hi,

I have just installed Kendo UI 2016.3.914 and grid excel export stopped working.

If you try in Dojo the first example available on your documentation http://docs.telerik.com/kendo-ui/controls/data-management/grid/excel-export it doesn't work

It looks like an "undefined" check is missing.

Did I do something wrong? There is a fix available or a workaroung available?

Thanks in advance,

Emanuele

Rumen
Telerik team
 answered on 30 Sep 2016
1 answer
190 views

Hi,

 

I have an issue where I can drag and move an event within the same group no problem but if I move an event from one resource group to another then it moves the event to the correct time but stays on the group it was already on, doesn't move it to the group I dragged it. Any ideas?

 

I have no custom code in the move event.

 

$('#allocation-schedule').kendoScheduler({
                date: new Date(),
                eventHeight: 40,
                start: new Date(),
                editable: {
                    confirmation: "Are you sure you want to deallocate this section?",
                    resize: true,
                    template: $('#customEditorTemplate').html()
                },
                views: [
                    { type: "timeline" },
                    { type: "timelineWeek" },
                    { type: "timelineMonth", majorTick: 1440, start: new Date(), selected: true }
                ],
                workWeekStart: 1,
                workWeekEnd: 5,
                dataSource: dataSource,
                dataBound: function (e) {
                    //create drop area from current View
                    createDropArea(this);

                    var view = this.view();
                    var events = this.dataSource.view();

                    for (var i = 0, event; event = events[i++];) {
                        var el = view.element.find("[data-uid=" + event.uid + "]");
                        if (event.ScheduleType > 0) {
                            el.css('background-color', '#8b90fd').css('border-color', '#8b90fd');
                        } else {
                            if (event.DueDate) {
                                var dateEnd = new Date(event.end),
                                    dateDue = new Date(event.DueDate);

                                if (dateEnd.getTime() > dateDue.getTime()) {
                                    el.css('background-color', '#ee4e4d').css('border-color', '#ee4e4d');
                                } else {
                                    var day = 24 * 60 * 60 * 1000;
                                    var diff = (dateDue.getTime() - dateEnd.getTime()) / day;
                                    if (diff <= 2) {
                                        el.css('background-color', '#eeac4d').css('border-color', '#eeac4d');
                                    }
                                }
                            }
                        }
                    }

                    var view = this.view();
                },
                allDaySlot: true,
                timezone: "Etc/UTC",
                group: {
                    resources: ["Users"],
                    orientation: "vertical"
                },
                resources: [
                    {
                        field: "id",
                        name: "Users",
                        dataSource: users,
                        title: "User"
                    }
                ],
                resizeEnd: function (e) {
                   
                },
                save: function (e) {
                   
                },
                remove: function (e) {
                   
                },
                moveEnd: function (e) {
                    
                }
            });

 

 

Thanks,

Peter Milchev
Telerik team
 answered on 30 Sep 2016
2 answers
188 views

Hi,

Is there any issue with kendo scheduler if I use a version of jquery bigger then 1.2.4 ?

I’m using kendo scheduler, with
Jquery 2.2.0 min
Angular v1.4.7
Kendo v2016.3.914

And I follow this example from:
http://demos.telerik.com/kendo-ui/scheduler/angular

Into my project, the scheduler is mess up and look badly:
This is version with height specify: (see p1)
Same version but with no height set:  (see p2)
If I use on same enviroment but, a version of jquery 1.2.3  (or 1.2.4) it is display correctly:(see p3)
When I inspect the difference between those 2 versions of jquery(2.2.0 vs 1.2.3), I got this: (see p4)

It seems that the “tr” is put into a wrong part.

 

Cristina
Top achievements
Rank 1
 answered on 30 Sep 2016
7 answers
837 views

Hi! I'm trying out Kendo UI cause the company where I work is intending to purchase it, but...

On my trial tests I can see Kendo UI has a big memory problem, and that will be decisive to buy it or not.

As you can see on the image attached, as soon as the web application starts Kendo UI is using 450MB+ of memory use!

I removed Kendo UI references and files from the test application and the memory problem vanished.

So, this confirms that the problem is occurring with Kendo UI.

If I have more than one web application (I tried with three test applications) each of them starts immediatly with 450MB+ of memory.

What should I do so Kendo UI uses less memory?

For me this is a HUGE problem.

What can you guys say about it?

You will find three images attached.

1) Showing the immediate memory usage on task manager;

2) The Kendo references on my project;

3) The Kendo files I'm using on my project bundles.

 

Georgi Krustev
Telerik team
 answered on 30 Sep 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
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
Styling
ColorPicker
Pager
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
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?