I'm looking for a way to alter the "Scrollable" setting via jQuery.
Basically, I want to give the user the ability to toggle the grid between a fixed size (say 200px height with scrolling) and a un-set height, allowing the grid to show all rows without scrolling.
I have this set in the grid definition:
.Scrollable(s => s.Enabled(true).Virtual(true))
which yields the first requirement - a scrollable grid of fixed height.
When the user clicks a "toggle" button, I'd like to swap the s.Enabled(true) to s.Enabled(false) and back and forth as they click the toggle button.
Is there any way to do this?