This is a migrated thread and some comments may be shown as answers.

View messed up after set and select on joint pages

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Licenses
Top achievements
Rank 1
Licenses asked on 23 Jun 2016, 01:14 PM
Hello,

Here is the issue. I’m using a Kendo Grid, in which the data are virtualized. I have to edit the data a lot, but I’d like to keep the data selected in the line that I’m currently editing using the model.set() method.
I haven’t any problem on a classic case by using the following solution http://www.telerik.com/forums/grid-programmatically-select-row-by-dataitem-values----when-the-item-is-not-on-the-current-grid-page-#Uce9-ICg-0OsWU5gVzd6jg.

The issue occurs when I’m trying to edit the data in a row when the grid view is on joint pages. You can see this in the fiddle https://jsfiddle.net/jL4k7kq3/36/.
To do this, scroll the table until you view the rows 48 to 52 and try to update line 52 (with the form below). On a classic line, it will be selected after changes, but in this case, the line isn’t selected and the view is messed up (then, try to scroll again and you’ll see the scrolltop and the page values are however correct).

I have some clues to solve it, but it would be a turn around. What you can tell us about that?

Thanks in advance for your help.

Regards. 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 27 Jun 2016, 12:08 PM
Hi Christian,

There are several known and documented limitations, imposed by the Grid's virtual scrolling, like CRUD operations, or scrolling to a specific table row. These functionalities are not supported in a combination with virtual scrolling:

http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#virtual-scrolling

Let us know if you have other questions about Kendo UI.

Regards,
Dimiter Topalov
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Licenses
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or