When using virtualisation I'm setting height to >525 and the data doesn't virtualize correctly. In this instance I'm trying to set height to 700px. This particular list below has 18 items and it is only rendering the inital 10. If I change height back to 500, it renders correctly.
If you filter the ORDERID to a value less than say 10254 then when you scroll down there are blank records for the last few rows. Is there a better fix than just increasing the PageSize as it is not obvious that PageSize would effect Virtualization mode
How can i know what page size is correct for the given height?
e.g. height = 100px pagesize=50. is this working?
Or is it as simple as "pagesize * rowheight in px must be greater than height in px?"
i cant get a feeling for "which pagesize is best for which height"
You need to set the PageSize to at least as many items as currently visible. It depends entirely on the DataGrid height and row height. The default row height is 38px.
Hi Korchev.
Is there a way to calculate row height?
I Have a customized grid and sometimes it would include layouts with bigger components than the common 38px height you mentioned, and i need virtualization.
Row height depends on the size of the delete button. I needed smaller row size and it was not resized until I put icon size as Size="ButtonSize.ExtraSmall"