Using up/down keyboard shortcut to navigate up and down a row causes viewport to scroll
Attachment: viewportmovement2_7b9e01ed.zip
Thanks for contacting Syncfusion support.
We have option to change scroller step value using `scrollOneStepBy` property in `scrollSettings`. After modifying default value of `scrollOneStepBy` it will minimize navigation range of scroller. So we suggest youto set the Grid row height value to `scrollOneStepBy` to make selected row in visible screen while key navigation. Default value of `scrollOneStepBy` property is 57, so we suggest you to use 33 which is grid row height.
Please refer to the code example and playground sample,
| $(function () { // the datasource "window.gridData" is referred from jsondata.min.js var data = window.gridData; $("#Grid").ejGrid({ dataSource: data, allowScrolling: true, scrollSettings:{width: "100%", height: 300, scrollOneStepBy: 33}, allowPaging: true, pageSettings:{pageSize:20}, columns: [ . . . . ] }); |
Sample Link: https://jsplayground.syncfusion.com/mulgvsjv
Refer to the online help documentation for scrollOneStepBy property,
Document: https://help.syncfusion.com/js/scroller/customizing-the-scroll-step
Regards,
Sellappandi R
Thanks for the update.
Please give a try and get back if you need any further assistance.
Regards,
Balaji Marimuthu
e-scrollsettings-scrollonestepby="33"
$(function () {$("#integratorTemplateGrid").ejGrid({scrollSettings:{scrollOneStepBy: 33}});});
We considered this query “scrollSettings.scrollOneStepBy property not working when defining in angularjs” as a bug. We have logged a report on this and will fix the issue internally, also the fix will be included in 2015 Volume 4 Service Pack 2 release which has been scheduled to be roll out in the month of March 2016.
We have also created an incident internally to have a follow up with this issue.
Regards,
Ragavee U S.
- 5 Replies
- 4 Participants
-
GG Greg Gannicott
- Jan 21, 2016 04:04 PM UTC
- Feb 4, 2016 09:57 AM UTC