Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Web Grid Fixed Header Data Invisible (Urgent, please help !)
posted

Hi,

I am using the following code to allow fixed headers

ReportView.DataSource = dt;//  data table ReportView.DataBind();

ReportView.DisplayLayout.UseFixedHeaders = true;

But I cant see any data in the web grid. However, whe I export to excel, all the data gets exported to excel, which means that the data is there for some reason, its not visible (like setting background, border and forecolor everything to white).

When I comment the last line however, I see the data.

Any help will be highly appreciated.

Thanks,

Sameer

Parents
  • 28464
    posted

    Hello Sameer,

    I am trying to reproduce the problem (using the latest 2008.3) release, but unfortunately to no avail. In every case I tried, UseFixedHeaders worked as expected for this feature and the grid was successfully shown.

    Furthermore, it is really weird that UseFixedHeaders has this effect on the grid - are you sure that this is the only line of code the interferes in the scenario? Can you isolate a very simple grid and see how UseFixedHeaders affects it? 

     

Reply Children