Telerik Forums
Kendo UI for jQuery Forum
5 answers
12.2K+ views
Hi,

How can I allow blank selection in a kendoDropDownList?
There is an example with the combobox but wants to add this behavior within the kendoDropDownList.
Marin Bratanov
Telerik team
 answered on 19 Nov 2018
3 answers
308 views

I have seen people incorporating combobox inside the grids. I have a requirement where I need to place a grid inside the combobox. Or options, the combobox displays shall be in the grid view along with pagination at bottom and the combobox's text field acts as a filter bar.Is it possible to do so ? I tried editing the header and the body templates for the combobox, it didn't really work out.

 

Is it achievable? or any other better  solutions?

 
Marin Bratanov
Telerik team
 answered on 19 Nov 2018
1 answer
151 views

We are using the bootstrap theme and we wanted to update to the latest version from 2018.2.620.

I have a dropdown list with an option element. When the option element is selected and you open the list the option element is not selected.
See old version
https://dojo.telerik.com/aqiweQIf
See new version
https://dojo.telerik.com/uPuKuvIn
Click on the categories and when the list opens the new version does not have the option item selected.
Are there other backward compatibilities broken like this one?

Dimitar
Telerik team
 answered on 19 Nov 2018
1 answer
1.0K+ views

This is an error that took us an hour to figure out.

We are using the right-arrow icon as part of the content within a collapsible header to represent a transition. (See image)

We found that the expand/collapse icon did not appear.

 

Further investigation reveals that if the header content contains a span with a class matching the regular expression k-i-arrow.* then the expand/collapse icon doesn't work.

See this example. https://dojo.telerik.com/EwAsaKAf/3

 

 

 

Dimitar
Telerik team
 answered on 16 Nov 2018
6 answers
1.3K+ views

Ok

simple  create a new row  with null values, and add the editor as a ComboBox with the edit field.
Editable:inline

Click Combo show, populates, select, click away from the cell, cell shows [object object]

the data is {Id=1, ColumnName="blah", datatype="blah"}

I have tried all examples for the past two weeks and none seem to work.

 

Should be easy right?  OK I give up.

BTW, all the combobox behave the same.

Any help would be appreciated.

var grid = $("#grid").kendoGrid({
width: 500,
dataSource: {
transport: {
read: {
url: "Grid/GetSearches",
dataType: "json",
},
update: {
url: "Grid/UpdateSearches",
dataType: "json",
},
create: {
url: "Grid/CreateSearches",
dataType: "json",
},
destroy: {
url: "Grid/DeleteSearches",
dataType: "json",
}
},
schema: {
data: function (data) {
return data.data;
},
total: function (data) {
return data.total;
},
model: {
id: "Id",
fields: {
Id: { type: "number", editable: false },
field: {
ColumnName: { type: "string" },
Criteria: { type: "string" },
Value: { type: "string" },
Predicate: { type: "string" }
}
}
}
},
cancel: function (e) {
},
},
scrollable: false,
pageable: false,
editable: {

createAt:"bottom",
},
toolbar: ["create","save", "cancel"],
columns: [
{
field: "Id",
readonly: true,
width: 25,
},
{
field: "ColumnName",
width: 200,
editor: function (container, options) {
$('<input data-bind="value:' + options.field + '" />')
.appendTo(container)
.kendoComboBox({
dataTextField: "ColumnName",
dataValueField: "ColumnName",
autoBind: false,
dataSource: typesds
});
}
},
{ field: "Criteria", width: 200, editor: criteriaDropDownEditor},
{ field: "Value", width: 200, editor: textEditor },
{
field: "Predicate",
width: 200,
template: "#=generateTemplate(Id)#",
editor: function (container, options) {
$('<input required id="Id" style="width:200px;" Name="' + options.field + '" />')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
dataTextField: "Predicate",
dataValueField: "Id",
change: function(e)
{
selectedValue = this.text();
},
dataSource: {
data: [
{ Id: 1, Predicate: " " },
{ Id: 1, Predicate: "And" },
{ Id: 2, Predicate: "Or" },
]
},
});
}
},
{ command: [{ className: "bt-add", name: "addRow", text: "Add Row" }] },
{ command: [{ className: "bt-del", name: "delRow", text: "Delete Row" }] },
]
}).data("kendoGrid");

var typesds = new kendo.data.DataSource({
transport: {
read: {
url: "Grid/GetFieldList",
dataType: "json",
type: "POST",
},
},
schema: {
data: function (data) {
return data.data;
},
total: function (data) {
return data.total;
},
model: {
id: "Id",
fields: {
Id: { type: "number", readonly: true },
ColumnName: { type: "string" },
DataType: { type: "string" }
}
}
},
});

 

 

 

 

 

 

Tsvetomir
Telerik team
 answered on 15 Nov 2018
2 answers
547 views

Hi!

We need to "lock" our combobox when we reload its data.  We found the kendo.ui.progress() function and it seems to be exactly what we need.

But, it doesn't work as expected.

If I use it to "lock" the whole body, all my controls are blocked, I can't click on them.

If I try to "block" only my combobox, I see the loading zone displayed only on it, but I can click on it and change the combobox value.

I tried to put a div outside my combo, to lock that div instead, but no results.

You can see the 3 cases in the following code sample:

http://jsfiddle.net/mhtg8pge/4/

How can I show that the dropdown is loading, and keep it locked at the same time, using kendo.ui.progress()?

Thank you

David
Top achievements
Rank 1
 answered on 15 Nov 2018
4 answers
440 views

Hello,

I'm trying to implement some server validation when a user tries to move a schedule entry to an invalid resource.

I have tried validating on moveEnd event, however the e.event data contains the "from" data, but I want validate based on the "to" data.

I have tried validating on the save event. e.preventDefault() appears to work on the surface (i.e. the event does not move), however, it does something funny with the underlying data. A subsequent update to the scheduler refreshes scheduler showing the 'invalid' move.

Here's an example of what I mean:

https://dojo.telerik.com/@antman/aniGupAP

Steps:

1. Move "1. Move this to the left causing a conflict with "My Meeting"" as directed.

    

Anthony
Top achievements
Rank 1
 answered on 14 Nov 2018
2 answers
302 views

Hello Team,

We are looking for a bar chart, which displays the sales count. The sales count is shown on the y-axis of the graph. Week wise data is displayed on the x-axis.

The week wise data on the x-axis, must be grouped by the apparel brand, week and city.

We have checked the following below post for "grouped-stacked-bar chart" and could not derive a solution from this.

https://demos.telerik.com/kendo-ui/bar-charts/grouped-stacked-bar 

 

Tsvetina
Telerik team
 answered on 14 Nov 2018
12 answers
306 views
Another feature parity item vs. kendoGrid: filtering via header row works in Grid, but not in TreeList.
Angel Petrov
Telerik team
 answered on 14 Nov 2018
3 answers
286 views
I'm using the grid and have it configured to use the virtualization of remote data.
http://demos.telerik.com/kendo-ui/grid/virtualization-remote-data

What I would like is to have some indication in the footer of the grid that shows what range of the data is being viewed in the visible area in the grid - sort of like traditional paging.  Something like "Showing 20-30 of 500".

Is this possible with the virtualization of remote data configuration?

Thanks,
--Ed
Konstantin Dikov
Telerik team
 answered on 14 Nov 2018
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?