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

Grid Column Command moves page to the top

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 14 Sep 2016, 08:24 AM

Hello,

when I add a custom column command (e.g. a button) to a grid and the grid is very long, 
after clicking a button in the lower part of the page, it always moves back up to the top.

Can I somehow prevent this behavior?

Thanks!
Daniel

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Sep 2016, 06:10 AM
Hello Daniel,

Please prevent the click event in the handler function, as demonstrated at:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.command.click

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