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

Scroll the grid content on mouse drag when invisable

5 Answers 262 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Svetlin
Top achievements
Rank 1
Svetlin asked on 27 Jan 2014, 08:26 PM
I have a grid that has 100 items page size. However, my grid has visibility of 10 rows. I need to be able to select the rows that are in the invisible area (meaning when i select a row and  drag the mouse to be able to select multiple rows, so the grid needs to scroll while i am dragging the mouse and select the new visible rows.) By default this is disabled. But in some of the demos i can see the behavior i want, but i do not know how to achieve it.( http://jsbin.com/ulizuv/2/edit or http://demos.telerik.com/kendo-ui/web/grid/detailtemplate.html)

Thank you

5 Answers, 1 is accepted

Sort by
0
Svetlin
Top achievements
Rank 1
answered on 28 Jan 2014, 12:53 AM
I think is something to do with setting the CSS of the grid content to display: block
I get the desired result but the grid formatting is getting all messed up
0
Svetlin
Top achievements
Rank 1
answered on 28 Jan 2014, 12:55 AM
Ignore my previous one. This is doing only html selection but not row grid selection
0
Alexander Popov
Telerik team
answered on 29 Jan 2014, 11:34 AM
Hello Svetlin,

I am afraid that this behavior is not supported at this point, however holding CTRL or SHIFT during selection could be used to achieve the same results.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Svetlin
Top achievements
Rank 1
answered on 29 Jan 2014, 05:15 PM
On the two examples it works...
0
Alexander Popov
Telerik team
answered on 31 Jan 2014, 12:36 PM
Hello again Svetlin,

I am not sure I understand you correctly. In case you want to drag over items that are currently not visible and select them - this is the default behavior (see screencast and demo). Please, let me know if I am missing something.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Svetlin
Top achievements
Rank 1
Answers by
Svetlin
Top achievements
Rank 1
Alexander Popov
Telerik team
Share this question
or