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
Hello,
On the server it is hard to know that since many client-side features play role, e.g. margins, paddings, wrapping, etc. Still, generally you can rely on the DisplayLayout.RowHeightDefault setting:
<DisplayLayout RowHeightDefault="20px" ... />
HTH,
How do I know my row height in pixels?
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? ;-)
Hi Chris,
Infragistics Support says that there is no Sollution... - as far as I can remember I got a sollution for this a view years ago from the support, the bad thing is I don´t have this Email anymore.
Please let me know in case that you you find something about this.
Thanks!
Hi Andreas:
Did you ever find a solution for this?
Thanks,
chris