Telerik Forums
Kendo UI for jQuery Forum
1 answer
238 views

When server paging is enabled, there is no easy way to find out when request ended after changing page from code. by dataSource.page(2). the page method does not return promise.

 

Best Regards

Marcin

Stefan
Telerik team
 answered on 11 Jul 2017
4 answers
569 views

I have a reasonably complicated grid working really well with multiple level grouping on the latest version v2017.2.504. Within my grid I have 3 text columns and a number of numeric columns. The first 2 text columns are group levels and are hidden in the grid. The third text column is used to display the row details and also has a groupfootertemplate which displays the appropriate grouping total text as below: 

groupFooterTemplate: function (e) {
    if (e.PaidToDate.group === undefined) {
    }
    else {
        if (e.PaidToDate.group.field == "Category") {
            return "<span class='boldFont'>Total for " + e.PaidToDate.group.value + "</span>"
        }
        else {
            return "<span class='boldFont'>TOTAL " + e.PaidToDate.group.value + "</span>"
        }
    }
},

 

This works perfectly so when displaying the group footer at the category level it correct displays the "Total for ...." text and when displaying the group footer for the higher level heading field it displays the text "TOTAL ...". The problem comes when I attempt to export the grid to Excel. If I don't do the "e.PaidToDate.group === undefined" check the export fails and using developer tools to check the error it reports that it couldn't access the field property of undefined. Clkearly I've got round that error by doing the undefined check as above but this means that the Excel export gets the total rows but without the text description of what the total is. It looks like this must be a bug as it's clearly doing something different with the group footer when exporting to Excel - the symptoms are actually the same as what the grid did initially before I updated to the latest Kendo UI so is it possible that the handling of the grid footer template in the Excel export has not been updated in line with the grid itself? I made sure I updated all relevant Kendo scripts etc and the list included in the page are below:

<script language="javascript" type="text/javascript" src="/JSLibs/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="/JSLibs/js/kendo.all.min.js"></script>
<script language="javascript" type="text/javascript" src="/JSLibs/js/jszip.min.js"></script>
<link href="/JSLibs/css/kendo/kendo.common.min.css" rel="stylesheet"/>
<link href="/JSLibs/css/kendo/kendo.silver.min.css" rel="stylesheet"/>

 

Any suggestions?

Stefan
Telerik team
 answered on 11 Jul 2017
9 answers
277 views

I'm trying to use the kendoChart with remote data, which looks like this (other settings omitted for brevity):

01.$('#chart-uno').kendoChart({
02.  dataSource: {
03.    transport: {
04.      read: {
05.        url: ' http://urltokendoobject',
06.        dataType: 'jsonp'
07.      }
08.    }
09.  }
10.})

 

What I've got in a local setup is an object like this (plenty of data omitted as well):

01.var data = [{},{
02.  'name': 'First Serie',
03.  'type': 'line',
04.  'style': 'smooth',
05.  'data': [{
06.    'value': 48,'date': new Date("2017-01-31T00:00")
07.  },{
08.    'value': 120,'date': new Date("2017-02-28T00:00")
09.  },{
10.    'value': 187,'date': new Date("2017-03-31T00:00")
11.  }]
12.},{
13.  'name': 'Second Serie',
14.  'type': 'area',
15.  'line': {'style': 'smooth'},
16.  'stack': true,
17.  'data': [{
18.    'value': 47,'date': new Date("2017-01-30T00:00")
19.  },{
20.    'value': 58,'date': new Date("2017-02-01T00:00")
21.  },{
22.    'value': 163,'date': new Date("2017-03-30T00:00")
23.  }]
24.}]

The URL returns the same object (starting from the first bracket []). The first empty curly brace is due to a configuration we're using to build the data.

 

But I'm not able to actually make it work when consuming it from the remote. Still, I'm not sure what I could be doing wrong. Any pointers to the right solution?

URIEL
Top achievements
Rank 1
 answered on 10 Jul 2017
1 answer
205 views

Hello,

I want to use a diagram to display a simple hierarchy, exactly like the "basic usage" demo:  http://demos.telerik.com/aspnet-mvc/diagram

Users should NOT be able to move, resize, drag, connect, etc.

However, when an item is selected, I would like to show the menu like in the "Editing" example - with buttons to edit the properties of the item, as well as delete the item.

1. Is it possible to have the menu without setting up datasource configuration for connections?  (i.e. just specifying .Children("..."))

2. Can you add custom actions (buttons) to that menu?  

Thanks

Stefan
Telerik team
 answered on 10 Jul 2017
1 answer
214 views

Hi i´m tryng to  save data  to richtext in a report but my text returne is like this is .

what i´m doing wrong?

 

"<ul><li>No corrente m&ecirc;s continuaram as
repara&ccedil;&atilde;o das portas corta fogo e respectivas
verifica&ccedil;&atilde;o as mesmas recuperando
algumas.</li><li>Foram colocadas armaduras novas na zona
exteriores e armaduras de emerg&ecirc;ncia nos
estacionamentos.</li></ul>"

Ianko
Telerik team
 answered on 10 Jul 2017
3 answers
322 views
Hi,

When I try drag&drop an item and item goes outside of treeview and "cancel denied" event performed and then I drag it back to treeview I can't be able to drop it again. I attached a video about issue.

Thanks in advance.
Nencho
Telerik team
 answered on 10 Jul 2017
1 answer
167 views

Testing has raised an issue where all of our grids on all of our pages display "No Items To Display" at the top of the grid when we page in IE11. As soon as the mouse is moved on the grid, or the DOM is examined via the developer tools, it disappears.

It looks like IE is not refreshing properly, because when you look in the DOM explorer there is no div or code showing "No Items To Display" in the grid, and when you expand the table in the DOM explorer the message disappears.

Attached is a screenshot.

Is there any fix for this issue or is it a known bug?

 

 

Stefan
Telerik team
 answered on 10 Jul 2017
3 answers
429 views

How can I add or remove columns during runtime in an Kendo UI Angular grid?

Right now I call the ngInit after setting the new columns but it seems like not the best option.

 

Any ideas?

Boyan Dimitrov
Telerik team
 answered on 10 Jul 2017
1 answer
542 views

Hi,

Is it possible to use WebFont Icons (http://docs.telerik.com/kendo-ui/styles-and-layout/icons-web) as icons for TreeView?

I noticed that it’s possible to add css classes with spriteCssClass, but “spriteCssClass: "k-icon k-icon-folder” is not working for me.

Do you know if it’s possible to fix this? It would be neat to use the new icons in the TreeView. 
Dimitar
Telerik team
 answered on 10 Jul 2017
8 answers
709 views

Hello,

I am trying to setup an autocomplete with angular and kendo, using remote datasource.

I have an input field :

<input type="text" kendo-auto-complete  k-data-source="customersDataSource"  k-data-text-field="'name'" k-data-value-field="'id'"/>

And a controller with a scope:

$scope.customers=['adolfo','paolo'];
 
    $scope.customersDataSource={
     
          serverFiltering: true,
          transport: {
              read: {
                  url: "/Customers",
                  type:'jsonp'
              }
          }
      };

If i set $scope.customers in the k-data-source , then autocomplete works, but using $scope.customersDataSource autocomplete does not work.

In firebug it seems there is no call for data.

 

Any suggestions?

 

Stefan
Telerik team
 answered on 10 Jul 2017
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?