Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
How to dynamically adjust datagrid's height, and fill-in content, even with paging
posted

Hello:

    User is migrating from WPF, and is asking if:

1) datagrid's height can be auto-adjusted, based on visible screen height. (i do notice, if the height is exceeding certain values, eg 740px, the width cannot be auto-adjusted to fit screen width, when column pinning is on). User could be changing the browser's zooming, eg changing from 100%>90%>80%, or vice versa, yet still maintain the auto-adjusted datagrid's height.

2) auto fill-in enough of content, even with paging, eg. if auto-fill 15 records if height with 1000px, and set paging to 15 rows; auto-fill 10 records if height with 700px, and set paging to 10 rows. the figure is an example and it could be any random number.

   Thanks.