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
330
WinGrid does not display any column data
posted

Hi,

I have a grid whose datasource is set to a bindingsource whose datasource is set to a c# business object that has some properties, collections, methods, etc. 

I set my MaxBandDepth to 1 so that the children don't show up.

I set the datasource of the bindingsource to the single object record that has some of its properties populated.

I set the datasource of grid to the BindingSource inside a button event.

I do not perform any action inside  _AfterRowActivate event. 

All i see is a grid with ONLY COLUMN HEADINGS and no rows showing up for any columns.

When i do the binding process with another much more complicated business object, then the rows show up properly. 

Please help what might be wrong. 

Scott.

Parents
No Data
Reply
  • 330
    posted

    FYI, when I debug Datasource for the grid, it does show up the rows count and other information. 

Children