Home Forums WinForms controls Xceed Grid for WinForms Xceed.Grid.Column.Initialize(string) inaccessible Reply To: Xceed.Grid.Column.Initialize(string) inaccessible

User (Old forums)
Member
Post count: 23064

This forum provided no use to me but if you email support directly you will get fast accurate results…Here is the answer to this in case anyone else has a similar problem:

Xceed.Grid.DataBoundColumn does have a public .Intialize method taking only a string as a parameter. However, the Xceed.Grid.Column does not have this .Intialize overload marked as public. This is why it gives you this error. When you use unbound columns and wish to Initialize them, you must do so by using the .Initialize method that is available to you… the one that takes in a string and a dataType.

Would look like this:

this.colName.Initialize(“colName”, System.Type.GetType(“System.String”));

Imported from legacy forums. Posted by Nathan (had 2852 views)