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
715
Grid not rendering properly when Auto Generation of fields disabled
posted

I have a Grid bound to a BindingList<IMyInterface> which worked fine, until I disabled Auto Generation of Fields in my grid.

I understand I need to define a Field Layout which I was already doing. I can't see how it is wrong at all, so there shouldn't be any reason for it to fail. To ensure my field layout is correctly defined, I used the technique defined mentioned in other posts to print out the field layout and then set it manually.

When my window initially load, the data I'm binding to is empty. The grid is rendered as a thin white line on the screen (no column headers). Once my binding list gets populated, the line remains, and a thin bar is placed on it, with an arrow on the left hand side - that's all - no column headers, no grid data etc.

Any ideas what might be happening?

thanks