ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How use Grid Api to get row total count or content height
Title:
B
I
{code}
?
I want to use the total number of items to control the height of the Grid
Save Changes
Cancel
RayBen
asked at 25 Aug 2024
Answers
B
I
{code}
?
If you don't set the grid height, the grid will height itself according to the number of rows, you could also set the `MinHeight`. You could count the rows with js: $('#gridid .awe-row').length or get the total rows height (content height): $('#Grid1 .awe-content .awe-tablw').height()
Save Changes
Cancel
Omu
answered at 25 Aug 2024
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