We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Change Backcolor of DGBG

Hi,

If the no. of rows in my grid do not fill up the height specified, how do I eleminate the background color of the grid?
Even After setting the Backcolor to "White",
It still does not work?
Kindly see the attachment to exactly determine what is desired.



DGBG_b248e7bf.zip

2 Replies

JJ Jisha Joy Syncfusion Team November 14, 2008 09:45 AM UTC

Hi Raul,


Property.BackgroundColor controls the color of the client area not occupied by grid cells. Please refer the code.




this.gridDataBoundGrid1.Properties.BackgroundColor = Color.White;

Thank you for using Syncfusion Products.

Regards,
Jisha



AD Administrator Syncfusion Team November 18, 2008 09:06 AM UTC

thanks Jisha.


--Raul Dsouza


Loader.
Live Chat Icon For mobile
Up arrow icon