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
40
possible Rows depending on the Grid size (maximal Visible Rows???)
posted

Hi,

does anyone know if there is a method that returns the number of rows that a Grid can display with its actual size?

The methode I am looking for would be depending on the size of the grid and should also return the value of possible displayed rows, even if the grid  is empty. (maximal visible Rows???)

Thank you for your help!

Andreas

 

Parents
  • 8680
    posted

    I must not be understanding the question.  If your row height is fixed at N pixels, and your grid height is fixed at M pixels, and the sum of the heights of header rows, scrollbars, etc., is fixed at P pixels, you should be able to compute the number of possible rows: (M - P)/N

    So what am I missing?  ;-)

Reply Children