Is there a way to not display the scrollbars? We’d like to also NOT show the extra space where the scrollbars would go if our data didn’t fit on the grid.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set the
heightandwidthto 100%, and then the scrollbars won’t appear. They only appear if the grid is larger than the space allocated. To remove the extra space for the bars, setscrollOffsetto 0.Here’s an example grid definition (corrected version below):
I haven’t tested this, but I use
height: 100%for the same purpose… so let me know if you see anything missing.EDIT: A better definition, and improvement on my json usage – thank you Oleg 🙂