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

No subject

Could someone explain how I can display the grid header row before the data is actually bound. It seems that if there is not data then the header does not display. DataboundGrid if you needed to know this.

1 Reply

AD Administrator Syncfusion Team February 20, 2003 03:46 PM

This is a bug. The grid does currently ignore the header text when no datasource is set. We will fix that. As a workaround you can handle PrepareViewStyleInfo and explicitly set style.Text for the header cell (rowIndex == 0). Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon