property G2Host.HostReadOnly as HostReadOnlyEnum
Retrieves or sets a value that indicates whether the host is readonly.

TypeDescription
HostReadOnlyEnum A HostReadOnlyEnum expression that defines the operation being allowed
By default, the HostReadOnly property is exHostReadWrite, which indicates that all operations are allowed. Even so, if the control's data-source does not allow changes, certain operations may be not allowed. 

The HostReadOnly property changes the following properties of the Host:

The Error event notifies your application once any error occurs. 

For instance, the following error:

0 The data-source provides no support for AddNew method[...]
0 The data-source provides no support for Delete method[...]
0 The data-source provides no support for Update method[...]

Indicates that no AddNew, Delete or Update is allowed, and so no Save will be performed.

For instance, the the HostReadOnly on exHostReadOnly, makes the control read-only, so no changes are allowed. Even so, you can still change the Host's properties like ReadOnly, AllowCreateBar, to make the control works the way as you desire.