Telerik Forums
Kendo UI for jQuery Forum
7 answers
527 views

Hello,

recenlty on Chrome dev console warning started to appear about deprecation of document.registerElement method

[Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.

When I checked what would happen if this function is no longer available, our application crashed. We have custom bundle so according to this: https://github.com/telerik/kendo-ui-core/issues/4675 the solution would be to upgrade R1.2019 when it will be available.

So my question is when this version is planned to be available, or do you know if upgrading to current latest version would solve this problem?

Alex Hajigeorgieva
Telerik team
 answered on 26 Mar 2019
1 answer
287 views

Kendo controls on my website have stopped working after chrome updated to version 73

See attached image of @Html.Kendo().DateTimePickerFor controls and @Html.Kendo().Grid

Kendo version is 2016.1.412

Konstantin Dikov
Telerik team
 answered on 26 Mar 2019
10 answers
2.6K+ views

Hello,

I am trying to filter datasource on multiple fields. 

Below is my Filter 1 - 
  var _flt = { logic: "or", filters: [] };
        $("#mySelection").find(':checkbox').each(function () {
            if (this.checked) {
                _flt.filters.push({ field: "TypeID", operator: "eq", value: parseInt(this.value) });
            }
        });       
        dataSource1.query({ filter: _flt});

The above javascript code works great when filtering on 1 field. 

I am trying to add one more filter, the below filter should do a logical and to the results from first filter. 

var _fltStatus = { logic: "or", filters: [] };
        $("#myStatusSelection").find(':checkbox').each(function () {
            if (this.checked) {
                _fltStatus.filters.push({ field: "StatusID", operator: "eq", value: parseInt(this.value) });
            }
        });
       
dataSource1.query({ filter: _fltStatus });


Basically what I want is 

(TypeID  = 1 OR TypeID  = 2 OR TypeID  = 3) AND  (StatusID = 1 OR StatusID = 2)

I am trying to do local filtering. Please let me know if this is doable.

Thanks,



Christos
Top achievements
Rank 1
 answered on 26 Mar 2019
3 answers
722 views

Hello,

I have one custom grid and in each cell I have one comboBox.On combobox open event I load the data to datasource from api but if server returns no content or bad request combobox loader is not getting stop.So how to stop manually loader if there is error while getting data from api.

Ivan Danchev
Telerik team
 answered on 25 Mar 2019
2 answers
209 views

Hello!

 

I want to customize the style for my line series, but this only seems to be possible for "area" type and not for "line".

Here I have an example: https://dojo.telerik.com/AlekeFUB

I wanted to set the style as "step". When I set the series type as "area", it works fine, but if I change it to "line", the step style is not applied anymore. I know I can achieve this with seriesDefaults, but I want to set different line style to different serie. Is it possible to do so?

 

Thank you,

Iuliana Maria Candea

Iuliana Maria
Top achievements
Rank 1
Iron
 answered on 25 Mar 2019
1 answer
393 views

Despite setting the tab strip to wrap, I'm seeing some inconsistency. 

var tabStrip = $("#TabStripPatientDetails").kendoTabStrip().data('kendoTabStrip');
tabStrip.scrollable = false;

Specifically, hitting refresh seems to switch the tabstrip to scroll.  Is there another setting I need to tweak?

 

 

Marin Bratanov
Telerik team
 answered on 22 Mar 2019
7 answers
1.4K+ views
In our application we have a virtual scrollable grid. We have implemented a function to refresh the grid data from the server by calling the datasource's "read" method. While this works to refresh the grid data, a side effect is that if you are in a certain position of a (virtual) page, the grid re-positions itself after the loading has completed. I've described it as well as I could but maybe an example will help. 

See fiddle: 
http://jsfiddle.net/kennymatic/jH2Lw/3/

scroll down a couple hundred records, and then click the "refresh" link, note the change in grid position. 

The question is, is calling the datasource.read() method the only way to refresh the data, if so is the re-positioning an issue of the grid that will be fixed or can you recommend any other workarounds? 
Alex Hajigeorgieva
Telerik team
 answered on 22 Mar 2019
7 answers
859 views

Hello,

I have a scheduler with context menu, which is displayed on mouse right click.

I have a problem with this scenario:

1. I select some slot in the scheduler by left mouse button.

2. I scroll the scheduler till the selected slot goes out of the current viewport and is not visible.

3. I right click some other slot.

Now I would like the slot where I right-clicked to be selected. Instead of this, the scheduler is automatically scrolled to display the previously selected slot and some other (totally different) slot is selected.

Is it possible to select a slot by right-click and to get rid of this automatic scrolling?

 

Boris

Dimitar
Telerik team
 answered on 22 Mar 2019
2 answers
10.6K+ views
I added a custom button to my grid to clear any currently active filters.  It's mostly working, but I am having a problem getting the filtermenu control to completely clear.  With the code below the actual data in the grid is unfiltered and the first item in each filtermenu is cleared.  The problem is that if you add an "and" or "or" condition to the filtermenu, the second condition is not cleared.  Any ideas as to how to properly do this?  Or is it possible to get a "clearAllFilters" method on the grid at some point in the future?  Thanks for your help.

$(".k-grid-clearfilters").click(function() {
    // Clear the grid filters
    var gridDataSource = $("#departmentgrid").data("kendoGrid").dataSource;
    for (var i = 0; i < gridDataSource.options.fields.length - 1; i++) {
        gridDataSource.filter({ field: gridDataSource.options.fields[i].field, value: "" });
    }
    gridDataSource.filter([]);
});


Regards,
Brian
n/a
Top achievements
Rank 1
 answered on 22 Mar 2019
2 answers
811 views

I have a kendo tree in a dialog box (https://demos.telerik.com/kendo-ui/dialog/treeview-integration) in my kendo grid custom command window (https://demos.telerik.com/kendo-ui/grid/custom-command)

 

For the first time when the user clicks on the custom command button (View Details) of any kendo grid row, the kendo tree works fine. But, when he makes a second click on custom command button on the same/different kendo grid row, the kendo tree loads forever. Also, I am newing up the kendo treeview object on every custom command button click. The dojo link is below

 

https://dojo.telerik.com/@varunmechie@gmail.com/IDOQIqaP

 

Please let me know if this can be fixed.

Thanks.

Varun
Top achievements
Rank 1
 answered on 21 Mar 2019
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?