Telerik Forums
Kendo UI for jQuery Forum
1 answer
295 views
Hello friends.
I am developing an application where client side uses Kendo UI plus JSDO components and the server side uses Progress Application Server for OpenEdge (PASOE). The application is entirely based on OERA best practices.
I'm using a DataGrid with server side pagination for browsing through a CRUD records and editing is done on a KendoUI popup form. So far so good.
Now I need your help to capture and display validation messages generated on the server side (EntityBusiness).
The response of the PUT, POST, and DELETE HTTP requests in which validation errors occur contains the validation messages, I have already confirmed this when monitoring requests with the browser development components.
How do I display these messages in the Kendo UI form? Better still, if possible, display each message next to the field with the invalid value.
Konstantin Dikov
Telerik team
 answered on 07 Sep 2017
5 answers
771 views

Hi, Telerik Team

      I am utilizing kendo treeview to show organizational structure of sales forces, and this tree is made of uncountable layers (hundreds or thousands,  and even ten thousand nodes)  Therefore, I hope that this treeview can only display the first layers, and by expanding tree nodes, child nodes will emerge from data transferred via web services.  Is that possible for me to capitalize on functions of kendo treeview for the sake of achieving the feature, lazy loading mentioned.

     Another question is that if overwhelming data, such as ten thousand nodes, is loaded in kendo treeview,  will there be a performance issue encountered?

     Could you please offer me some suggestions?

 

Thanks & Best Regards

James Shen

Dimitar
Telerik team
 answered on 07 Sep 2017
3 answers
322 views

I notice an error while using Kendo MVC FluentAPI to generate a Datasource with additionnal data in the request URL.

Using this : 

ds.Custom().Transport(t => t.Read(r => r.Action("GetUsers", "Application").Data(x => new { IncludeCurrentUser = false })

generate a javascript property of : 

"data":{ IncludeCurrentUser = false }

and result in a javascript error of "Uncaught SyntaxError: Invalid shorthand property initializer"

The javascript should not be like C# writting but like "data":{ IncludeCurrentUser: false }

Stefan
Telerik team
 answered on 07 Sep 2017
1 answer
352 views
I have a kendo grid with in cell editing. I extended the validator to add a new validation rule and message. This is working correctly.
 
However, I can't seem to change the default error template for the validation message. Here is the code used to extend the validator:
 
(function ($, kendo) {
    $.extend(true, kendo.ui.validator, {
        rules: {
            uniqueTagName: function (input) {
               ...
        },
        messages: {
            uniqueTagName: resources.Message_TagAlreadyExists
        },
        errorTemplate: "<span>#=message# TEST</span>"
    });
})(jQuery, kendo);

 

I can see from the console that when I look at kendo.ui.validator, the errorTemplate is changed to "<span>#=message# TEST</span>". However, when the (Name) element is validated, I get the default error template.

Through $("#Name").kendoValidator().data("kendoValidator"), i get this template:

<span class="k-widget k-tooltip k-tooltip-validation"><span class="k-icon k-warning"> </span> #=message#</span>

However,both validators have the extended rule and validation message.

I also tried to create a <span data-for="Name" class="k-invalid-msg"> as I have found somewhere in the documentation, but this seems to have no effect.

Boyan Dimitrov
Telerik team
 answered on 07 Sep 2017
8 answers
653 views

Hello!

I have some questions regarding the limitations of virtual scrolling and I am referring to your documentation: http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#virtual-scrolling

1) "Virtual scrolling relies on a fake scrollbar. Its size is not determined
by the browser, but is calculated based on the average row height of
the data that is already loaded. As a result, variable row heights may
cause unexpected behavior, such as inability to scroll to the last rows
on the last page." and "Virtual scrolling relies on calculating the average row height based on
already loaded data. Having a large variance of row heights or an
unknown number of rows that are not bound to data (such as group
headers) might cause unexpected behavior:":
To prevent this, I am calling resize(true) on the grid widget every time the data is bound (dataBound event handler). It seems like this works, but am I missing something?

2) "Virtual scrolling is not compatible with grouping, hierarchy, and editing":
I am using a grid with batch editing mode, and it seems to work. Could you please share some details about what's not compatible with editing exactly?
And what are the known incompatibilities with grouping? I have found out, that the grid does not remember collapsed groups when the page size is crossed while scrolling and the next page of data items is bound to the grid, so the collapsed groups get automatically expanded again. Also, if a group is being collapsed, the space of the previous shown data items remains blank, instead of the next group being shown immediately below.

Thank you in advance for providing information about the grid virtual scrolling limitations of the current Kendo UI release version.

Best regards,

Kaan

Tsvetina
Telerik team
 answered on 06 Sep 2017
5 answers
409 views

i need to remove "Select All", N items selected & change the font of the text for checkboxes.

I was able to achieve first "Select All", but could you please help me figure out how to implement 2 left?

P.S - kendo ui for jquery

Thx Alex

Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
 answered on 06 Sep 2017
11 answers
3.2K+ views
can you please suggest as to how can i access the column name of the cell being current edited. I am using edit event of the grid and would like to apply different validation checks depending on the type of column that is being edited.

Thanks
Preslav
Telerik team
 answered on 06 Sep 2017
4 answers
103 views
How can I lock one column as the first column of the grid, so it can not be moved/rearranged or hidden?
Jaanus
Top achievements
Rank 1
 answered on 06 Sep 2017
2 answers
134 views

Hello,

We use several different kendo widgets on the page at the same time. We also have many editable divs. To not flood the DOM, I'm instantiating the editor on focus event for an editable div, and on focusout I'm wanting to destroy the widget and remove the DOM it has created.

I see that the documentation states that the added DOM must be removed manually. How do I determine which widgets the editor has created, so that I remove only those and none of the other widgets?

Thanks

Chris
Top achievements
Rank 1
 answered on 05 Sep 2017
3 answers
393 views
Imagine a model as:

{
    Id: { type: "number" },
    Name: { type: "string" },
    Nested: [
        {
            Id: { type: "number" },
            Name: { type: "string" }
        }
    ]
}

So, the corresponding html form reflects this model.

What I am having more trouble finding than I think I should is an example that combines the following:

  • A demo / sample of the datasource implementing full CRUD operations to a remote server API manipulating a semi-complex model like the one above, preferably also integrating MVVM.

I have struggled far too much trying to work out how to combine a model, datasource, viewmodel, etc. into a cohesive whole that actually works.

Very frustrating as the value add for Kendo UI is clear - but not if it take a week to learn how to use one component of the framework.

Is there an example / demo covering this functionality that I may have missed? It seems like such a simple thing, I find it hard to believe there isn't one - but I really can't find it...

 To be clear, I am NOT looking for a Grid sample, nor dropdown lists, etc. but a normal HTML form with text inputs, etc.

Richard

Boyan Dimitrov
Telerik team
 answered on 05 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?