Home Forums WinForms controls Xceed Grid for WinForms Master/Detail/Detail2 — Detail2 Grid Data Repeating Reply To: Master/Detail/Detail2 — Detail2 Grid Data Repeating

User (Old forums)
Member
Post count: 23064

I figured out that if I set the datasource to nothing for Detail1 and Detail2 and change the datamember to VendorReturnVRDetail and VRDetailVendorResponse respectively, then the grids operate as they should.

Now the problem I get is I can’t set column widths or visibility for the columns that should be inserted from the datasource (bound columns).

At this line of code: detail.columns(“Comments”).width = 300
The error that occurs is: Object reference not set to an instnace of an object

Not sure how I would do that.

Imported from legacy forums. Posted by Greg (had 438 views)