Telerik Forums
Kendo UI for jQuery Forum
1 answer
424 views

Hi,

 

This example shows a grid with empty cells when the datasource object didn't has data for the field.

There is a way to show a grid like the attached image with the same source used in the example above?

 

Thanks

 

 

Marin Bratanov
Telerik team
 answered on 15 Aug 2019
2 answers
678 views

OK, so I've been banging my head on this for a few days and I thought I was going in the right direction but maybe now.  So the problem I have is that browsers are auto-filling the filter box of the Kendo Grid with random information based on the user.  A lot of time it's an e-mail for some random reason.

So you can find threads about setting autocomplete="off" or AutoCompleteType="Disabled" for kendo objects.  So I tried this:

{
                field: "ToFromOrganizer",
                title: "From/To/Organizer",
                filterable: {
                    cell: {
                        template: function(args) {
                            args.element.kendoMaskedTextBox({
                                value: "",
                                AutoCompleteType: "Disabled"
                            });
                        },
                        operator: "contains",
                        suggestionOperator: "contains"
                    }
                }
            },

 

In an attempt to prevent the browser from filling in the field, but that doesn't work.  Anyone have an suggestions.

 

Alex Hajigeorgieva
Telerik team
 answered on 15 Aug 2019
2 answers
4.3K+ views
I know from the documentation and other threads that if I want the columns in the grid to auto size, then I have to set "scrollable" to false.  Setting scrollable to false gives me the desired effect in terms on column width, but having the grid scrollable is also a requirement in my case (the column headers must stay visible).

My questions are:

1. Is there a way to auto size the columns and keep the grid scrollable?
2. If not, are there plans to add this feature in the future (column auto size and scrollable at the same time)?

Regards,
Victor
Viktor Tachev
Telerik team
 answered on 15 Aug 2019
1 answer
362 views

Hey Everyone,

We are currently testing Kendo spreadsheet to see if it fits our needs.
We have an excel file that we open, and after that export to excel (with the default toolbar buttons, and without changing anything).

The following error occurs:

TypeError: e[n.image] is undefined     kendo.all.js:12698:32
    n kendo.all.js:12698
    map self-hosted:291
    drawingsXML kendo.all.js:12692
    toZIP kendo.all.js:13080
    toBlob kendo.all.js:13176
    r kendo.all.js:136776
    onload kendo.all.js:136755

 

If I look at the json (generated by saveJSON), I do see some drawing definitions in there, without a reference to an image.
If I look at the excel file, I do not see something strange.

Atteched you will find the excel file, and the json file.

Can I do something to fix this error ?

Thanks in advance


 
Petar
Telerik team
 answered on 14 Aug 2019
2 answers
143 views

Hello

 

I am trying to implement this paste feature(https://alligator.io/js/async-clipboard-api/) into the kendo editor, however it doesn't appear to work. I am able to paste content into a regular textarea just not the kendo editor. Any advice would be greatly appreciated.

Thanks!

Sali
Top achievements
Rank 1
 answered on 14 Aug 2019
6 answers
1.2K+ views

I would like to refer you to this posthttp://www.telerik.com/forums/inline-editing-cancel-removes-the-row#gUEDci4cHEu8PsmAm4rhpg

It explains that the id ​field of a model cannot be set to "id" because it breaks the grid (clicking cancel deletes records). The post I have linked to was misunderstood by Nikolay Rusev who replied explaining case sensitivity - it has nothing to do with that. The fact is that either "id" is a reserved word ​that ​cannot be used by model fields or the grid has a bug.

I want this to either be officially recognized as a bug by the Kendo team (and fixed), or it should be properly documented that "id" cannot be used as a field name in a model. It has wasted too much of my time.

Viktor Tachev
Telerik team
 answered on 14 Aug 2019
3 answers
459 views

Here is the Dojo example of what I am trying to achieve: https://dojo.telerik.com/ewAmuVok.

The fields on the grid part of gantt should remain editable, In this case title is editable and I can edit it inline. Now, the challenging part is when I double click on the timeline task template, it opens the default editable modal. If I make use of edit for gantt, it disables the inline editing of the grid part of gantt and I can override the default behavior.

I am trying to achieve both - inline editing and open custom modal popup when double clicked. 

Any inputs will be appreciated. Thanks in advance.

edit: function(e){
    e.preventDefault();
    alert("edit");
  }
Ivan Danchev
Telerik team
 answered on 13 Aug 2019
1 answer
813 views

I'm trying to configure the DatePicker to be able to parse a "dd" format, and when it does, i'd like it to use the current month, as it does for the current year when none is specified.

I analyzed the source code (especially the parseDate from kendo.core), but I didn't find any solution.

Is there an option to achieve that ?

Live exemple: https://dojo.telerik.com/OqeSaDEC

Thank you

Alex Hajigeorgieva
Telerik team
 answered on 13 Aug 2019
9 answers
354 views

When two shapes are connected by a connection and the "Konfiguration" dialog of the connection is opened and one presses "+Text" then an element is added to the dialog.

 

If one now saves the entire workflow and reload the workflow and open the connection's "Konfiguration" dialog and press "+Text" nothing happens and the following error pops up in the browser console:

TypeError: Cannot read property 'updateOptionsFromModel' of undefined

 

After closing and re-opening the "Konfiguration" dialog the previously added element is now displayed.

 

Was wondering if anyone had such an issue before and found the solution.

Thank you in advance!

Georgi
Telerik team
 answered on 13 Aug 2019
2 answers
385 views

I have kind of wild scenario.

We're using the grid to load large datasets, but only rending 500 rows at a time and rending additional grid rows with the scrollable.endless option.

This grid also has the groupable option enabled.

When collapsing a grouped section, as the rows are hidden, additional rows are rendered automatically.

This has a continuous effect where it'll continue to load every 500 rows until the grouping condition is met.

Hope all that made sense.

Is there a way to automatically collapse all groups (https://docs.telerik.com/kendo-ui/knowledge-base/grid-collapse-groups) but have it NOT render the rows until the group is expanded?  To further complicate things, when the group is expanded, is it possible to only render the first 500 rows and rely on the scrollable.endless option?

Alex Hajigeorgieva
Telerik team
 answered on 12 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?