Telerik Forums
Kendo UI for jQuery Forum
1 answer
21.9K+ views
I want to enable/disable menu items based on whether there are any rows in the grid.  How do I find if there are any rows?
Stefan
Telerik team
 answered on 08 Mar 2018
2 answers
10.0K+ views
what could be the best way to get all the models in a grid (including the rows that are not edited)

thanks 
ajeesh
Konstantin Dikov
Telerik team
 answered on 08 Mar 2018
1 answer
98 views

Hello,

I am trying to create a custom MVVM widget. I noticed that when my widget is bound and the "visible" binding is declared -- this error logs in the console:

typeError: cannot read property '0' of undefined. 

 

I have created a dojo from an example provided in your tutorial on how to build a custom widget and am able to reproduce:

https://dojo.telerik.com/ayaQEsaV

 

Please advise.

Bozhidar
Telerik team
 answered on 07 Mar 2018
5 answers
240 views

Hi Guys,

.kendoMenu({dataSource: menuItems}); menuItems is JSON from the controller.

In my C# code, I have the property as Text (capital 'T'), but KendoUI expects a small 't'. I don't want to have properties in my C# starting with small letters. How do I tell Kendo that it should look for 'Text' rather than 'text'?

Thanks,

Andrei

 

Plamen
Telerik team
 answered on 07 Mar 2018
1 answer
1.3K+ views

Hi,

I am having a requirement for conditional cell colouring in Kendo UI grid and user should be able to extract the same coloured cells in excel using Kendo Export to Excel feature.

Please refer the attached screenshot in which I need to colour based on following conditions

1) Colour the entire Order ID column with Gray background

2) Colour Green and yellow background for the selected country and state in Ship Country and Ship city respectively 

3) Mark Red colour for those columns where Freight is less than 25

So, I am looking for a way through achieve this conditional colouring in export to excel as well, i.e. by clicking on export to excel user can download the excel with all these cells coloured. 

Can you please assist me in achieving this.

 

Stefan
Telerik team
 answered on 07 Mar 2018
8 answers
1.8K+ views

I need to be able to restrict the allowed files types in the upload widget. I see there's some old threads on this (here and here), but any links to examples are dead now.

Ideally I would be able to pull a list of allowed file types from our DB to be used with the uploader, but if it has to be a static list, that would work as well.

Veselin Tsvetanov
Telerik team
 answered on 06 Mar 2018
1 answer
5.7K+ views
I started to write my first app with Kendo UI. Most of the work will be done on the Kendo Grid by filtering, sorting and manipulating values.

The grid itself seems to be pretty powerful and suits my needs quite well. However, it looks like I am not able to fulfill all my filtering needs using the regular built-in filtering functions.

For instance: I need to be able to filter all the items from a column having some special characters in them. Special characters are input by the user via k-textbox.

I already wrote a JS function that returns true/false depending on whether the given string contains any of the special character present in the k-textbox. 

How could I bind this function as a filter operator for column filtering? I would like to have it on the client side so that I don’t need to send data back and forth all the time. I tried searching for solutions from the forum and the web in general, but I am still a bit lost.

It would be neat if I could use it as a string filter operator like the built-in filters, something like this:

filterable: {
    operators: {
        string: {
            contains: "Contains",
            eq: "Is equal to",
            special:"Contains special characters",
        }
    }
},

Any ideas and help are welcome. Thank you!
Stefan
Telerik team
 answered on 06 Mar 2018
1 answer
252 views

I created a .css file from http://themebuilder.telerik.com/aspnet-mvc based on Bootstrap 4.  When I downloaded it, I noticed that the 'WebComponentsIcons' WOFF is now embedded as base64.  GREAT!

 

However, often when I refresh my browser (F5), the sort, filter, paging icons do not render properly and give me ugly ASCII chars (please see attached).

 

Telerik UI for ASP.NET MVC R1 2018 (2018.1.221)

Chrome 64.0.3282.186

Internet Explorer 11.0.9600.18861

Stefan
Telerik team
 answered on 06 Mar 2018
2 answers
100 views

I was checking out https://demos.telerik.com/kendo-ui/treeview/filter-treeview-in-dialog for a demo on how to client-side filter a treeview component. The demo works like a charm butI noticed that keyboard navigation is broken when the treeview is filtered (it works fine when not filtered). Is there a work around of fix for this problem?

Thanks,
Ron

Inception
Top achievements
Rank 1
Veteran
 answered on 06 Mar 2018
1 answer
155 views

Hello,

I face a problem with treeview and larger tree structure. When I select some item and the modal window appears, I cannot see the selected item, it is necessary to scroll down, if selected item is out of visible area.

The second problem I face is witjh automatic scroll, when moving around tree using keyboard, automatic scroll does not work.

Thank you for your kind help.

Ianko
Telerik team
 answered on 06 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?