0

Modify grid page size dynamically

asked 2022-05-17 17:46:21 +0800

softteam gravatar image softteam
130 1 8

updated 2022-05-17 17:47:59 +0800

Hi,

I got a Grid with an auxhead and this grid has a fixed height. Is there any way that when user click on "show/hide filters" button and filters are shown, grid recalculates its page size? What I need is that scrolling bars do not appear because grid only would show the number of rows that fit in its space (= fixed heigh - auxhead height).

For instance, in this image the 11th row would not be shown because only 10 rows fit in grid's height:

image description

This is my example:

https://zkfiddle.org/sample/11blnm1/53-Grid-STS

Thank you, Javier

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-20 17:22:37 +0800

hawk gravatar image hawk
3023 1 5
http://hawkphoenix.blogsp... ZK Team

fixed page size

https://zkfiddle.org/sample/11blnm1/54-Grid-STS

does the grid have to be fixed height?

re-render

re-render invalidate(), to recalculate the page size. https://zkfiddle.org/sample/11blnm1/55-Grid-STS

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2022-05-17 17:46:21 +0800

Seen: 7 times

Last updated: May 20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More