Hello!
I have this code:
and of course I have the grid with Scrollable;
Problem:
targetElement for drag element is entire grid, but not the part that is visible
If I delete scrollable and use pageable....everything well works.
I have this code:
var grid = $("#PlanCut").data("kendoGrid");
grid.table.kendoDraggable({
filter: "tbody > tr:not(.k-grid-edit-row)",
group: "gridGroup",
container: $("#PlanCut tbody"),
axis: "y",
hint: function(e) {...
grid.table.kendoDropTarget({
group: "gridGroup",
drop: function (e) {...
Problem:
targetElement for drag element is entire grid, but not the part that is visible
If I delete scrollable and use pageable....everything well works.
7 Answers, 1 is accepted
0
Hello Gusev,
Could you please share with us a JsBin example which actually demonstrates the case, we cannot be sure and advise you just with the code you shared.
Thank you for the cooperation.
Kind Regards,
Petur Subev
Telerik
Could you please share with us a JsBin example which actually demonstrates the case, we cannot be sure and advise you just with the code you shared.
Thank you for the cooperation.
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 01 Oct 2013, 07:27 AM
Hello!
I think, that I set incorrect options for "container";
http://jsbin.com/UfUKuLu/11/edit
I think, that I set incorrect options for "container";
http://jsbin.com/UfUKuLu/11/edit
0
Hello again,
What exactly is wrong with the fiddle, could you please clarify?
Kind Regards,
Petur Subev
Telerik
What exactly is wrong with the fiddle, could you please clarify?
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 03 Oct 2013, 04:55 AM
Please, see a scrollbar.png
0
Gusev
Top achievements
Rank 1
answered on 03 Oct 2013, 05:12 AM
I need "Container" only for $("#grid tbody")
Or I need write necessary css selector, but I do not know how I can this do
Or I need write necessary css selector, but I do not know how I can this do
0
Accepted
Hello Gusev,
If I understand you correctly you are trying to set the following container option:
http://jsbin.com/UfUKuLu/20/edit
I hope this helps.
Kind Regards,
Petur Subev
Telerik
If I understand you correctly you are trying to set the following container option:
http://jsbin.com/UfUKuLu/20/edit
container: $(
".k-grid-content"
),
I hope this helps.
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 04 Oct 2013, 01:10 PM
Hello, Petur Subev.
thanks !
thanks !