Telerik Forums
Kendo UI for jQuery Forum
1 answer
163 views

Hello,

Is there any way to add javascript function in tempplate.I have made one example but it didn't work.

https://dojo.telerik.com/ATEWEmuz/82

Martin
Telerik team
 answered on 09 Apr 2019
1 answer
45 views

Hi,

Run below example.

Example : https://dojo.telerik.com/oJoCOCiR/64

(1) Go to Category Column.

(2) Click on Cell and Open Combobox and select 'Block' option.

(3) Now again navigate to same cell and click on 'UnBlock' option.

(4)Now again navigate to same cell  and click but do not select any option and switch to another cell.

It will select by default value 'Undefine'.

 

Martin
Telerik team
 answered on 01 Apr 2019
1 answer
229 views

Hi,

How do I load default value of Combobox in custom grid.Below is my example.

Example: https://dojo.telerik.com/oJoCOCiR/64

Martin
Telerik team
 answered on 01 Apr 2019
4 answers
231 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
522 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
1 answer
897 views

Hello,

I want to change ComboBox placeholder dynamically if there is no data return from api.

<!DOCTYPE html><html><head><title></title><link rel="stylesheet" href="styles/kendo.common.min.css" /><link rel="stylesheet" href="styles/kendo.default.min.css" /><link rel="stylesheet" href="styles/kendo.default.mobile.min.css" /><script src="js/jquery.min.js"></script><script src="js/kendo.all.min.js"></script></head><body><div id="example"><div class="demo-section k-content"><h4>Find a product</h4><input id="products" style="width: 100%;" /><div class="demo-hint">Hint: type at least three characters. For example "che".</div></div><script> $(document).ready(function() { $("#products").kendoComboBox({ placeholder: "Select product", dataTextField: "ProductName", dataValueField: "ProductID", filter: "contains", autoBind: false, minLength: 3, dataSource: { type: "odata", serverFiltering: true, transport: { read: { url: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products",}}}});});</script></div></body></html>

 

if Above url not return any data then I want to change my Placeholder to "Try Again".

Martin
Telerik team
 answered on 19 Mar 2019
14 answers
2.5K+ views
How do I prevent user to enter any character in Combobox (and also datepicker) ?
I tried this but it doesn't work :

    $(".k-input").attr("readonly", "readonly");

Best regards.
Marin Bratanov
Telerik team
 answered on 18 Jan 2019
17 answers
612 views

Hey,
I'm having a problem while tryign to use webpack + angularjs + kendo ui in my application.

While trying to use the kendo combo box, an exception raised (through chrome console):

"The Kendo UI directives require jQuery to be available before AngularJS. Please include jquery before angular in the document.".

I've read those issues (which didn't help me at all):
https://github.com/telerik/kendo-ui-core/issues/1932
http://stackoverflow.com/questions/39499716/how-to-use-kendo-ui-core-with-webpack-and-es2016

My code can be downloaded through Github:
https://github.com/amityaniv4/CheckSomething/tree/master

 

Thank you for helping :)

Mohan Krishna
Top achievements
Rank 1
 answered on 25 Dec 2018
5 answers
58 views
For a description of the problem, I'll give an example https://demos.telerik.com/kendo-ui/combobox/serverfiltering
I type in the text string 'que', I get a drop-down list of 2 elements. I choose one of them. After that, I click on the opening icon. I expect to see a list of two elements (as it worked in previous versions), but instead I get the full list. What do I need to do so that when I open the ComboBox I can see the already filtered list? I do not need the filtering mechanism to start again?
Veselin Tsvetanov
Telerik team
 answered on 27 Sep 2018
1 answer
2.8K+ views

I have this code on my jhtml page:

$("#myselect").kendoComboBox({
                        dataTextField: "Name",
                        dataValueField: "Id",
                        filter: "contains",
                        autoBind: false,
                        minLength: 3,
                        dataSource: {
                            serverFiltering: true,
                            type: "json",
                            transport: {
                                read: {
                                    url: "/controller/retrivedata",
                                    contentType: "application/json;",
                                    dataType: "json",
                                    data: function () {
                                        return {
                                            CustomId: data.MyCustomIdValue
                                        }
                                    }
                                }
                            }
                        },
                        select: function (e) {
                            if (e.dataItem) {
                                var dataItem = e.dataItem;
                                alert(selectedItem.Id);
                                alert(selectedItem.Name);
                                data.OtherComboId = parseInt(selectedItem.Id);
                                $('#otherCombo').data('kendoComboBox').dataSource.read();
                            }
                        }
                    });

 

The combo box load data correctly but on the select event I can not get the select object. I need the data value.

e.dataItem is undefined.

e.item contain the LI element but I never have found the value (onli the text)

How I can read the datavalue?

LSo

Plamen
Telerik team
 answered on 24 Sep 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?