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

Screen jumps when changing value in spinbox/editor

8 Answers 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shea
Top achievements
Rank 1
Shea asked on 12 Dec 2013, 06:12 PM
I have a grid which has columns of text and columns of numbers. The number editor is a numericTextBox. The problem we are having is that sometimes when using the spinbox, the screen scrolls to try and center the spin box (at least I think centering is the goal). This is a jarring experience for the user, and they have complained about it.

The grid is batch editable. 

It is worth noting that this does not happen when the page is fully scrolled to the bottom.

Is there a setting that causes the screen to jump when you edit a cell? Or is there a way to prevent this behaviour?

~S

8 Answers, 1 is accepted

Sort by
0
Shea
Top achievements
Rank 1
answered on 12 Dec 2013, 06:50 PM
I tried calling prevent on the event object passed to the change event function of the number editor, but that did nothing. But calling preventDefault on the global 'event' which is a focus event, fixed the problem.
0
Dimiter Madjarov
Telerik team
answered on 13 Dec 2013, 03:55 PM
Hi Shea,

I am glad that you managed to solve the issue. If you experience any further Kendo UI related issues do not hesitate to contact us again.

I wish you a great weekend.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shea
Top achievements
Rank 1
answered on 13 Dec 2013, 04:12 PM
Dimiter,

Actually I spoke to soon, this is still happening. Any suggestions?

~S
0
Dimiter Madjarov
Telerik team
answered on 13 Dec 2013, 04:22 PM
Hello Shea,

Could you provide a runnable example of the above said or a list of steps to follow in order to reproduce it in our demos as I am unable to observe the behavior on my side?

I am looking forward to hearing from you.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shea
Top achievements
Rank 1
answered on 13 Dec 2013, 05:05 PM
I am unable to repro on the demos either.

Here is a working demo:
http://fieldcaptest.continentalpipeline.com/TicketDetails.aspx?a=232

PM me for user/password.

~S
0
Dimiter Madjarov
Telerik team
answered on 14 Dec 2013, 05:55 PM
Hello Shea,

For convenience let's close this forum topic and move the discussion to a support thread. Please open a ticket for the issue and send us the authentication details there.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
StevenDale
Top achievements
Rank 2
answered on 24 Oct 2014, 10:07 PM
It would be nice if you could post the answers back to the original forums so others could use this information.
0
Dimo
Telerik team
answered on 27 Oct 2014, 12:15 PM
Hello Billy,

In Shea's case the problem was caused by using a very old Kendo UI version (2013.2.716). If your implementation is using the latest Kendo UI version and the problem still occurs, please provide a runnable example.

Regards,
Dimo
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
Shea
Top achievements
Rank 1
Answers by
Shea
Top achievements
Rank 1
Dimiter Madjarov
Telerik team
StevenDale
Top achievements
Rank 2
Dimo
Telerik team
Share this question
or