General information
Category:
The Mere Mortals .NET Framework
Actually there is another way to go around that problem.
1. Manually design the schema and include only columns that you'll need. Make sure that the key property on the column is exactly the field name.
2. Use SetDataBinding method of the grid in Form Load event to bind the data source and maintain the schema. Do not use DataSource prop because the schema will be lost.
for example
Form_Load ...
DataSet ds = BizObj.LoadDataMethodWhatEver();
ultraGrid.SetDataBinding(ds,"TableOfInterest", true);
// the last parameter is hideNewColumns parameter that we need
Hope it helps.
Regards,
Nick
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only