Telerik Forums
Kendo UI for jQuery Forum
1 answer
138 views

Hi,

Are there any hard or soft limits on maximum number of rows/columns?  I'd expect performance to degrade at some point, especially when sorting and filtering, just curious if there are known limits as to what those might be.

 

Ivan Danchev
Telerik team
 answered on 27 Mar 2019
4 answers
129 views

Hi,

 

Seems many links in "how to " sections are broken, like : https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Editing/using-mutiselect-editor-for-comma-separated-string

Alwas getting to knowledge base, mostly unusable.

Please advise.

Thank you.

 

Best regards,

Laurent.

Viktor Tachev
Telerik team
 answered on 27 Mar 2019
5 answers
2.2K+ views

Hello,

 

In order to preserve editing mode in the grid after a server side error, I use the methode explain here : http://blog.codebeastie.com/kendo-grid-error-handling/

It seems to work, but after an error, if the user modify the data in the grid and save again, the same data (before modifications) are send again to the server.

I'm using inline editing and MVVM.

 

The data source :

var remoteDataSourceContrats = new kendo.data.DataSource({               
    transport: {
        read: ...,
        update: ...,
        create: ...,
        destroy: ...
    },
    error: function(e) {
 
        console.log(e);
         
        $('#listeContrats').data('kendoGrid').one("dataBinding", function (x) {
            x.preventDefault();
        });  
    },
    batch: false,
    pageSize: 20,
    schema: {
        data: "contrats",
        model: ...
            }
        }
    }
});

 

The error response :

{ "errors": ["Erreur de modification"] }

 

What am I doing wrong ?

 

Etienne

 

Konstantin Dikov
Telerik team
 answered on 27 Mar 2019
1 answer
401 views

I have a grid which contains an adres ticket, some adresses contain a special character like ' 

When I want to get the data from the item when I click an icon on the record, I don't get the correct data:

This is my javascript to load the grid (it is placed in a div)

function loadConnectionsGrid() {
        connectionsGrid = $("#connectionsGrid").kendoGrid({
            selectable: "row",
            filterable: true,
            pageable: {
                refresh: true,
                pageSizes: [10, 20, 50, 100],
                buttonCount: 5
            },
            resizable: true,
            columnMenu: true,
            sortable: true,
            reorderable: true,
            columns: [{
                field: "EAN",
                title: "EAN",
                width: "140px"
            }, {
                field: "Discipline",
                title: "Discipline",
                filterable: { multi: true },
                width: '100px'
            }, {
                field: "StreetName",
                title: "Straat"
            }, {
                field: "PostalCode",
                title: "Postcode",
                width: '100px'
            }, {
                field: "BuildingNumber",
                title: "Huisnummer",
                width: '100px'
            }, {
                field: "BuildingNumberSuffix",
                title: "Toevoeging",
                width: '100px'
            }, {
                encoded: true,
                field: "CityName",
                title: "Plaats",
                width: "140px"
            }, {
                title: " ",
                template: "#=selectAddressAction(data)#",
                width: '25px'
            }]
        }).data("kendoGrid");
    }

In my case it's about column Cityname (I already tries encoded: true as you can see)

When I click the icon on the record this function fires: 

 function initializeCreateConnectionModal(e) {

        $("#btn-create-and-assign").show();
        $("#btn-create-case").show();
        $("#createConnectionModal-success").hide();
        $("#createConnectionModal-error").hide();

        enexis.services.tablerecords.getData({ Tables: [{ Name: "ANL001" }] }, getAanleidingCallback);

        var item = $(e.relatedTarget).data('item');
        loadSelectedConnectionsGridData(item);
    }

 

 When I'm trying to get the item (the bold line) In this case I don't get an object with the data like Screenshot01.png

But I get a string (Screenshot02.png)

 

 

Alex Hajigeorgieva
Telerik team
 answered on 27 Mar 2019
7 answers
166 views
It would be great if there would be an IRC Channel for Community support as well since sometimes it can be way quicker than the forums. No idea how to manage subforums in IRC though ;) But for the community it would be really cool.
Konstantin Dikov
Telerik team
 answered on 27 Mar 2019
2 answers
264 views

Hello,

I'm using Kendo JQuery Scheduler inside an Angular application and I have a problem with the native drag&drop when I specify a small eventHeight on the views.

On the code bellow, there is a problem when eventHeight is 20px.

01.this.kendoScheduler = kendo.jQuery(this.kendoSchedulerEl.nativeElement).kendoScheduler({
02.      date: new Date(),
03.      startTime: this.dayStartDateTime,
04.      endTime: this.dayEndDateTime,
05.      allDaySlot: false,
06.      views: [
07.        {
08.          type: 'timeline',
09.          title: translate['COMMON.CALENDAR.DAY'],
10.          eventHeight: this.eventHeight,
11.          columnWidth: this.dayColumnWidth
12.        },

Browser: Chrome

To be more specific, with eventHeight=20px, when I drag an event (see attached file) bellow the first 20 pixels of the target cell td, a tooltip appears and dropping the event doesn't trigger the datasource update event. I must drop it inside the first 20 pixels to make drag&drop work.

Do you know what could have gone wrong ?

Regards,

Nicolas

Nicolas
Top achievements
Rank 1
 answered on 26 Mar 2019
8 answers
746 views
When double clicking on a day in the month view of the scheduler, the editor will show a default start and end date with time 0:00
I would like so set these to a specific time value where end date is the same as the start date and the time is set from start 9:00 - end 17:00.

I tried this using the add and edit events but it does not work. If I set the time in the edit event, the datetime picker still shows 0:00 but when I click the dropdown has selected the set time (in this case 9:00). I'm not able to set the end date the same as the start date.

Please advise.
Veselin Tsvetanov
Telerik team
 answered on 26 Mar 2019
10 answers
852 views

Good day!

I have a context menu that is appearing when you right-click tree view nodes. Now the option in the context menu and its sub-menu is dependent with the node type.

My problem is, when I hover an option with a sub-menu, it always display the sub-menu to the left side of its parent and its being cutoff by the screen border. I tried different configuration for 'direction', 'orientation', 'popupCollision' and I can't seem to solve this issue.

In the attached file, I want to show the sub-menu on where the red rectangle is.

$('#nav_tree_menu').kendoContextMenu({
    target: "#nav_tree",
    filter: 'span.k-in',               
    alignToAnchor: true,                           
    select: function(e) {
        // nodeData (src), item (target)
        ...
        ...
    },
    open: function(e) {                
        if ($(e.item).is("li")) {                      
            return;
        }
 
        var node = $(e.target);
        var nodeData = treeView.dataItem(node);                
 
        ...
        // this is where the options based on the node "type"
 
        this.setOptions({
            dataSource: options                    
        });                    
    }
});

 

Thank you!

Ollie dG.

 

Ivan Danchev
Telerik team
 answered on 26 Mar 2019
4 answers
371 views

Hello everyone,

I stumbled upon some strange behaviour using a form containing kendoComboBoxes with the latest FireFox. If I return to the form after loading another page and pressing the browser's page back button, the text of the previously choosen options wont be displayed, just the placeholders. The combo boxes still hold their values because the clearButton shows on mouseOver and the data will be posted, it's just that the text is not being displayed. This problem does not occur with another browser such as Chrome or another widget such as kendoDropDownTree. Does anyone know if this is a known bug or has encountered this issue also?

Thanks in advance.

 

Boris
Top achievements
Rank 1
Iron
 answered on 26 Mar 2019
3 answers
1.6K+ views

I was looking at the demos and playing around with the upload control.  It seems that its designed to either be File uploads or Directory uploads, not do both at the same time. It seems we would would have to have two buttons one to allow choosing files and one to allow choosing a directory. The same with drop locations we could have a custom zone that accepts files and we would have to have another custom zone that only accepts a directory.

Below are some scenarios to help explain. I would love to know if all of these scenarios are possible and if so how. If they all of them are not then I would like to know what the reasoning is behind this limitation.

Scenario One

The user click an "upload" button that they can choice either 1 or more files, or 1 or more directories and the control will handle uploading all of them

Scenario Two
The user drags some files to a drop location and it detects they are files and uploads

Scenario Three
The user drags one or more directories to the same drop location as above and it detects they are directories and uploads the files represented within

Uwe
Top achievements
Rank 1
 answered on 26 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?