Rattlesnake Posted March 15, 2005 Posted March 15, 2005 hi, I have a datagrid that lists documents attached to an article. It has a header row and the details. When there are no documents attached (i.e. Datagrid is empty), the header row expands to the height of the datagrid and the header text is centered vertically which makes it look very ugly. How can I stop the header from expanding , and is there a way I can show blank lines when the datagrid is empty. Thanks Quote When you gotta go,you gotta go !!!!!!!
kahlua001 Posted March 15, 2005 Posted March 15, 2005 After you bind to datagrid yu can check for any items. If Datagrid1.items.count = 0 then Datagrid1.visible = false End If Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.