Telerik Forums
Kendo UI for jQuery Forum
5 answers
354 views

 I'm trying to set up a Kendo UI application environment based on JSPM using the instructions in this article:

    http://developer.telerik.com/featured/choose-es6-modules-today/

 The only place I deviate from that article is that I want to install Kendo UI Pro, not the free version. There is documentation about install Kendo UI Pro using Bowser. See here and here:

   http://docs.telerik.com/kendo-ui/install/bower​

   http://www.telerik.com/forums/install-kendo-ui-professional-bower-package​

 So I went ahead and ran these commands:

   sudo npm install jspm-bower-endpoint

   sudo jspm registry create bower jspm-bower-endpoint

   sudo jspm install kendo-ui=bower:https://bower.telerik.com/bower-kendo-ui.git

 The commands seemed to complete successfully. But then when I run my "serveit" Browsersync page, I get this error in the Chrome browser:

   XMLHttpRequest cannot load bower:https://bower.telerik.com/bower-kendo-ui.git@2015.2.813.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

 How do i get this to work? Thanks.

Stefan
Telerik team
 answered on 13 Jan 2017
1 answer
128 views

Looking at the demo here:

http://demos.telerik.com/kendo-ui/grid/remote-data-binding

The pager icons for first/last/next/previous are not vertically aligned (See attached picture) for all themes that use round buttons (like "default", blue opal, flat, silver, etc.).  However, if you change the style rule for:

.k-pager-wrap > .k-link

and change line-height from 2em to 1.7 or 1.8em, then it's fine.

Dimiter Topalov
Telerik team
 answered on 13 Jan 2017
2 answers
85 views

Hi,

I am trying to create a diagram (Editable) with local datasource in which the user can

    1.) Edit connection between shapes

    2.) Create new connection between shapes

On connectiondefaults, i have specified content template as below

connectionDefaults: {
                     content: {
                                 template: "#= label#"                              
                            }                       
                }

But when i am trying to create a connection with mouse , it fails.Meanwhile trying to create a connection using button on top bar works fine

i.e

editable: {
                    tools: ["createShape", "createConnection", "delete"]
                },

Vessy
Telerik team
 answered on 13 Jan 2017
4 answers
368 views

Hi, is there any kind of on hover event, which can show the selected cell(s) value(s) in a small pop up?

Thanks!

Marc

Marc
Top achievements
Rank 1
 answered on 13 Jan 2017
5 answers
314 views

After importing data from an Excel file into the Kendo spreadsheet, all the alignment is off (by the width of the "row number column").

 

 

 

 

Marc
Top achievements
Rank 1
 answered on 13 Jan 2017
2 answers
203 views

Hi, can you tell me the class used to apply the background colour and font colour to the normal (unselected) spreadsheet cells?

Thanks!

MArc

Marc
Top achievements
Rank 1
 answered on 13 Jan 2017
6 answers
1.1K+ views

I'm trying to create a drop down list with grouping where I custom sort the data by group in a non-alphabetical way.  I've created a sort function that I run on the data before I pass it to the Kendo DataSource and if I output the array to the console at that point the data is in the correct order.  Once I create the Kendo DropDownList though it seems to break the sort and puts back to alphabetical order.  I further tested things by turning grouping off on the drop down and in that case the drop down displays the data in the correct order as sorted by my sort function.  Any ideas?

 The data is an array of objects that look like:

{
  Value: "value",
  Group: "group"
}

The sort function is

 

newData.sort(function(a, b) {
  var av, bv;
 
  switch(a.Group.toLowerCase()) {
    case "group 1":
      av = 1;
      break;
    case "group 2":
      av=2;
      break;
    default:
      av=3;
      break;
  }
 
  switch(b.Group.toLowerCase()) {
    case "group 1":
      bv = 1;
      break;
    case "group 2":
      bv=2;
      break;
    default:
      bv=3;
      break;
  }
 
  return av-bv;
});

The function to build the drop down is

 

$.fn.sampleDD = function(options) {
  var ds = new kendo.data.DataSource({
    transport: {
      read: function(opts) {
        $.ajax({
          type: "GET",
          url: "<SharePoint REST Service URL>",
          dataType: "json",
          success: function(results) {
            //converts the data a bit to account for SharePoint's weird data returns
 
            //runs the sort function referenced above
 
            opts.success(sortedResults); //sortedResults is created from the conversion and sorting
          },
          error: function(results) {
            opts.error(results);
          }
        });
      }
    }
  });
 
  //listed separately because there's an if statement here that doesn't always group it
  ds.group({
    field: "Group"
  })
 
  return this.kendoDropDownList({
    dataTextField: "Value",
    dataValueField: "Value",
    dataSource: ds,
    optionLabel: "Make a selection",
  }).data("kendoDropDownList");
  });
};

 which is then called by

$("#dropDown").sampleDD();

Boyan Dimitrov
Telerik team
 answered on 13 Jan 2017
5 answers
1.2K+ views

Hi, Kendo newbie here,

I've been evaluating whether the Grid control or the spreadsheet control is best for my application requirements.  I'm leaning toward the Grid, but I'd like to get a second, third, nth opinion.

In general, I think the Spreadsheet is overkill, and I like the aesthetic of the Grid much more.  However, here are some features I need that I don't see in the Telerik demos.

I'd like my user to be able to easily duplicate one or more rows:

- Either by checking off the rows with shift-clicks, or in some other way highlight and select multiple rows.

- duplicate the selected rows with a button and/or keystroke

 

Thoughts?

Thanks in advance.

Duke
Top achievements
Rank 1
 answered on 12 Jan 2017
3 answers
711 views
Hi,

We are using Kendo grid and Bootstrap in our web application. We are trying to configure the grid for responsive behavior using bootstrap classes. When we apply the col-md-hidden class on a kendo grid column & its header the column is hidden but there is a white space on the right of the grid, and the white space keeps increasing as we hide more columns. The column widths does not get reset to expand when a column is hidden. BTW, we have not given any widths to the columns.

Sid
Dimo
Telerik team
 answered on 12 Jan 2017
2 answers
740 views

Hi,

I want the grid to fill the available space and have virtual scrolling so I'm using a flex layout with the grid set to 100% and it sits in a div with style:

  flex: 1 1 auto;

Its almost working except the horizontal scroll bar that appears at the bottom of the grid overflows the containing div and hence causes a scroll bar on the browser.  It looks like the border on the horizontal scroll bar is at least part of the problem.  If you look at the attached image from the bottom left of the window you can see that in the red rectangle that I've added it shows a grey bar which is not part of the enclosing div. Do you have an example with: virtual scrolling, a horizontal scrollbar, and the grid filling the available space using flex?

 

Thanks,

 

 

Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 12 Jan 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
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?