tshad said:
I have a Datagrid that has no rows in it, but I want the title to show, and
they aren't.
Is there a way to make them visible even if the Datagrid is empty?
Actually, it normally is visible when Datagrid is empty. Not able to find
the anomaly at the moment.
However, I did find something that is just the type of thing that drives me
crazy.
If you don't put HeaderStyle-width in all your columns and the grid is
empty, it doesn't line up any more. This is because the DataGrid will not
put the Width in the header area (even if the table is empty). How stupid
is that? The table still needs to be the same size and the relations still
need to be the same.
The header lines up fine if there are any rows in the Datagrid. This took
me hours to find. I am sure it is documented in some obscure place, but it
shouldn't be.
Another one that I don't understand is that when you set the Border, it does
it twice or it will set one to 0 and one to 1.
Great fun !!!!
Tom