ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
bind grid height to screen height
Title:
B
I
{code}
?
When changing the height of the screen, the height of the grid changes with the new height of the screen something like: `grid.height = window.height()`
Save Changes
Cancel
Arash Ansari
asked at 11 Aug 2022
Answers
B
I
{code}
?
$(window).resize(function(){ $('#Grid1').data('o').h = $(window).height() - 100; $('#Grid1').data('api').render(); });
Save Changes
Cancel
Omu
answered at 11 Aug 2022
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK