Hello, How can I add a scroll button to an editable list view.
Need to know how to add horizontal scroll capability to an editable list view...This is because I have a long horizontal editable list. I dont want to increase the width of my form but instead add a scroll button to the editable list.....
Best regards all,
Tade
I'm not sure this is possible in the way you specifically wish. Another customer has already logged a feature request to allow vertical and horizontal scrolling for smartforms that looks like it's a consideration for the next version.
However, I also found this (http://help.k2.com/KB001573#), which is different but is related:
K2 smartforms 1.0.2 (4.12165.1575.1) Known Issues List
Workaround: Edit the hosted page if possible and alter the styling of the ‘body’ element setting the ‘overflow-x’ and ‘overflow-y’ options to ‘scroll’ as required, where the ‘x’ axis is horizontal and ‘y’ is vertical.
To show the vertical scrollbar, the body element needs to be styled as follows:
To show the horizontal scrollbar, the body element needs to be styled as follows:
Thanks Alyssa_V. I woud try out your input and give a feedback. Cheers...
Hi
Try this
<script type="text/javascript">
$( document ).ready(function() {
$('.view:eq(0)').css({"overflow": "scroll","width":"2000px"});
});
</script>
It worked for me, view:eq(0) zero sepresent which view you want to put a scroll view
Regards
ElvisJacob
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.