I'm seeing an empty row for some of my rows between the row data and the AutoPreview field. In the attached image, the row highlighted in red is sitting between my row data and the autopreview field for the row. Same issue for the last row. Any suggestion on what might be causing this?
Just to clarify, this empty row does not always show up. I can refresh my grid multiple times, sometimes it's there, sometimes it's not. I have not figure out a pattern yet.
Thanks for the response. As I said in the question, this is not something that can be reproduced readily on demand so I'm not sure a simplified sample code would show the issue. At this point I just have 2 questions. First, has this issue ever been reported? Second, can I get some advice on where to look? I would like to dig further into this myself, but any advice on where to start would be much appreciated.
I think a sample would still be useful to us even if it doesn't (always) show the problem. It's really hard to even tell what we are looking at in this screen shot. I can't tell what part is a grid row, what part is a row, what part is the AutoPreview area. There's not enough context to tell what I am looking at here.
To answer your questions:
1) Not, I've never heard any other reports of a space or an extra line showing up at random. My best guess is that the text you are using here contains a carriage return and/or line feed in the actual content. Although that would not explain why it shows up sometimes and not others.
2) I would examine the actual text of the field and try to pull it apart one character at a time and see what the first few characters are just to see if there are extra line feeds or special characters at the top of the AutoPreview field.
I suppose it's also possible that this is some kind of artifact of the grid's RowLayout - assuming you are even using RowLayouts. If not, maybe it's a Groups & Levels issue where you have an unbound column that is on the second level of the row.
Like I said, though, it's really hard to even make wild guesses here, since the screen shot gives so little context.
The more I look at this screen shot, the more puzzling it becomes. The AutoPreview shows underneath the row. But looking at the screen shot, I can see the RowSelector on the left for the first row and it seems to encompass the entire height of the row, and the Patient Name cell also fills the entire height of the row. So I don't see any AutoPreview here.
In the second row, the red outline obscures the borders, so perhaps the AutoPreview is showing on the second and third rows, but not the first row?
I guess another approach you could take in order to track this down would be to try to find out what UIElement is in the gap there (if any). You could try using the UIElementViewer.
Use the link above to download the utility. And there are instructions on how to use it here.