Telerik Forums
Kendo UI for jQuery Forum
2 answers
143 views

I'm looking for a way to clear my kendo grid which is using remote odata service. I know that I can call dataSource.data([]) when I'm using local data (i.e. setting dataSource.data config property), but I can't understand how to do the same thing using remote data (i.e. using data.transport). Any suggestions?

The only way I've found is to conditionally call options.success({empty odata response object}) in your transport callback. But the problem is that such empty object contains @odata.context property which is dynamically generated on the service side and I'm not sure where it is used by kendo or it is'nt.

Andrey
Top achievements
Rank 1
 answered on 14 Sep 2017
2 answers
273 views
I have a grid and am using the default style on it however cannot get the arrows for filters, groups, pages etc to appear. I am loading all of the images from the 'Default' image directory and all of the css files. Is there a particular set of files that I should also add in to get the arrows to appear? I can't find any in the download archive at all.
Stefan
Telerik team
 answered on 14 Sep 2017
0 answers
549 views
The dropdown element closes when the space key is hit when searching in the filter textbox. 

In order to overcome the issue, use the following workaround:
 
<script>
  var keyDown = kendo.ui.DropDownList.prototype._keydown;
  kendo.ui.DropDownList.prototype._keydown = function (e) {
    if (e.keyCode === kendo.keys.SPACEBAR && this.filterInput[0] === document.activeElement) {
      return;
    }
    keyDown.call(this, e);
  }
</script>


The bug is already fixed and it will be available with the first internal build after the official R3 2017 release.

GitHub issue logged:

https://github.com/telerik/kendo-ui-core/issues/3583
Kendo UI
Top achievements
Rank 1
 asked on 14 Sep 2017
2 answers
427 views

I have a grid pop-up editor defined, which uses a numeric textbox. I'm trying to get this to show only integers, but I'm not having any luck.
From other forum posts, data-format="0"  should work, but this breaks the grid, with an 'e.slice is not a function' error.
Currently it is defined as:-

<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-spinners="false"  data-decimals="0"/></p>

 

This works fine, except shows two decimals.

If I change it to:-

<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-format="0" data-spinners="false"  data-decimals="0"/></p>

 

The grid stops working, and the error is raised.

How can I get it to work?

AP
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 14 Sep 2017
4 answers
210 views

In bootstrap a project I have used kendo.all.min.js. However, for a couple of selected pages I only need MVVM Integration so I figured I will setup the pages using kendo.all.min.js (https://github.com/telerik/kendo-ui-core).

I include: kendo/kendo.common-bootstrap.core.min.css and /kendo/kendo.core.min.js but the code below gives me the following error: Uncaught TypeError: kendo.observable is not a function

 

What am I doing wrong?

 

<div id="app">
    <div data-bind="html: test"></div>
</div>

<script type="text/javascript">
    "use strict";
    var viewModel = kendo.observable({
        test: "<span class='label label-success'>test</span>"
    });
    kendo.bind($("#app"), viewModel);

</script>

 

 

Preslav
Telerik team
 answered on 14 Sep 2017
2 answers
513 views

Hi! I'm using a tiny REST api as the grid's data source. For the API its perfectly fine to return a 404 error if data isn't found, but the grid automatically handles this like a regular error (say, like a 500), instead of letting me handle it through the noRecords template (which is called fine if I return an empty collection instead of a 404 in the API).

How can I handle 404s like how the grid handles empty collections with the noRecords template? 

Miguel
Top achievements
Rank 1
 answered on 13 Sep 2017
2 answers
277 views
 Hi! Kendo UI for Angular 2 sounds really nice, are you planning on having a "core" edition later down the road? (ie, Apache licensed, without the commercial features and widgets, like https://github.com/telerik/kendo-ui-core).
Miguel
Top achievements
Rank 1
 answered on 13 Sep 2017
2 answers
170 views
Hello,
           I am using .NET MVC project.  I have External MVVM template. I am using for , autocomplete, . I want to know how can make shared templates and can load multiple templates at  use load respected with their templates and editor templates?
Ianko
Telerik team
 answered on 13 Sep 2017
5 answers
827 views

Hello,

We are experiencing some problems with persisting grid options and particularly with the filters and groupings. We are using Razor and not javascript.

We successfully persisted the options for the grid but after using setOptions some strange behavior was observed:

Problem 1. We have group by and the options are persisted. After using setOptions the groupings are present but if you try to filter using a filter that has check boxes(multi filter is set to true), the filter contains no options.

Problem 2. We have checkbox multi filter by some column and options are persisted. After using setOptions the filters will contain ONLY the values that were checked. Even after clearing the filter the values are not re populated but we are left only with the options that we had after setOptions.

 

I have spent lots of time reading on the forums but couldn't find a suitable solution. Any help would be appreciated.

Stefan
Telerik team
 answered on 13 Sep 2017
3 answers
1.0K+ views

Editor / File and image browser ::

When clicking on image icon from editor to upload new image in that case generate error as 405 method not allowed in HTML 5.

I have attached here completed Zip file which content html. 

Please provide me some solution for the same.

Regards,

Joy

Ivan Danchev
Telerik team
 answered on 13 Sep 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
ContextMenu
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
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?