Telerik Forums
Kendo UI for jQuery Forum
8 answers
617 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
371 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.0K+ 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
77 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
103 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
349 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
1 answer
309 views

We're currently running a mixed environment with both Kendo for Jquery and Kendo for Angular. I'm currently trying to implement a DropDownList and continually get the attached error when attempting to open the dropdown. We have ran into some other issues related to the Kendo for Angular controls attempting to use the Kendo for Jquery css but have found a workaround for that at the moment. Could this be css related or is there something else that we need to be looking at?

Thanks in advance.

 

Georgi Krustev
Telerik team
 answered on 05 Sep 2017
8 answers
666 views

Hello,

this post is actually one part a question about the rationale behind the design of the allday option, and one part a question about how to work with this behavior or how to override it.

To understand what I am talking about, consider following scenario:

Open the calendar in the regular month view. Already present in the view is an allday event on, let's say, the 19th. Then create a new event on the 19th without the allday option. Both events take up one day slot now. Continue resizing both events to also span the 20th day slot. The allday event will get the end date 20th and the non-allday event will have the end date 21th.

I know this is because the end time is set to 21th 12:00 AM. My question is why non-allday end dates are exclusive while allday end dates are inclusive? This gets really confusing when working with views where time information is unimportant, like the month view or the allday section of the week view.

We have use cases where the time information is completely unimportant for the task that involves the scheduler, and in these scenarios the users struggle to understand why it works in one way sometimes and some other times it works in another way. The problem arises because the data that is interacted with actually have time information, only that is not of concern for the user in the interactions in question.

If this really is the intended behavior, is there a way to override this behavior? I think a solution to our scenarios would be to treat both end dates in an inclusive manner, like this: non-allday event end at 20th 23:59 on resize, allday event just end at 20th.

Thankful for any kind of help.

Best regards

AndersSpetz
Top achievements
Rank 1
 answered on 05 Sep 2017
1 answer
942 views

Hi team,

I'm very new to the spreadsheet widget. I'm trying to format a sheet column to form a hierarchy like look. Is it possible to format the cell text with different indentation (without resorting to spaces like below), and color part of them with different color? (see attachment)

where [O] represents an icon which I want to color brown while keeping rest of text as black

 

 

Veselin Tsvetanov
Telerik team
 answered on 05 Sep 2017
3 answers
895 views

Hello,

after upgrading to the most recent Kendo UI version 2017.2.621,  with defined template no longer respond to click - they do not show check mark they fire any events.

You can replicate mentioned behavior in here https://dojo.telerik.com/Uguniw/2 (this is the example code from this page http://docs.telerik.com/kendo-ui/controls/navigation/treeview/how-to/AngularJS/customize-treeview-checkbox-template)

To fix the issue temporarily and verify that it is indeed caused by the upgrading of Kendo, you can lower the included version in the upper left corner to '2017 R1 SP1' and see that the checkboxes will start working again.

 

Could you help me with this issue?

Best regards,
Patrik

 

 

Ivan Danchev
Telerik team
 answered on 05 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?