Reputation: 1669
When you drop a grid on a form and go through the wizard there are a number of places where "Default Behavior" is an option (for example, under Features -> Updating -> Allow Row Adding). Where do you set these default behaviours? We tend to have far more read only grids than updateable ones, so if I could specify this default behaviour somewhere for an entire application it would save having to remember to do it individually.
Upvotes: 1
Views: 289
Reputation: 3228
You could use Presets for setting up default options. When you manage presets there is an option to have a specific preset applied to grids created at design time. You can use the WinGrid designer to access presets.
Upvotes: 1
Reputation: 4004
A 'Default' value in the context of an override object means that it is going to default to the value defined higher up in the heirarchy (column -> band -> grid). If the top level object is also set to 'Default' it is going to resolve to the default behavior as intended by Infragistics; this is not user definable.
In the specific case of AllowAddNew, the "default" behavior depends on the context. If the grid is not attached to a data source it will be No, otherwise it will be Yes.
Upvotes: 1