I''ve got a virtual grid which I update the RowCount in response to certain events. When the RowCount decreases I notice that QueryRowHeight gets fired for each of the rows which are being removed. (eg if the RowCount was 5 and I set it to 4 QueryRowHeight is fired for row 5). The problem is, by that time I no longer have any data about the old row 5. And in fact any response that I do to that event during the RowCount update may be incorrect.
Given that I''m probably returning rubbish for this event, What is the row heights used for and what is the correct method of handling QueryRowHeight in this circumstance?