BootstrapGridViewBatchEditSettings.AlwaysShowCheckboxesInCheckColumns Property

Specifies whether or not Check Column cells should display native checkboxes both in Edit and Browse modes when batch editing is enabled.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.1.dll

Declaration

[DefaultValue(false)]
public bool AlwaysShowCheckboxesInCheckColumns { get; set; }
<DefaultValue(False)>
Public Property AlwaysShowCheckboxesInCheckColumns As Boolean

Property Value

Type Default Description
Boolean

false

true, to always display native checkboxes in Check Column cells; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AlwaysShowCheckboxesInCheckColumns
BootstrapGridView
.SettingsEditing.BatchEditSettings.AlwaysShowCheckboxesInCheckColumns
BootstrapGridViewEditingSettings
.BatchEditSettings.AlwaysShowCheckboxesInCheckColumns

Remarks

By default, when batch editing is enabled, Check Column cells present their values differently, depending on whether or not they are being edited.

  • In Browse mode, column cells display an icon for all true values.
  • In Edit mode, column cells display Check Box editors (rendered as native checkboxes).

BootstrapGrid_BatchEdit_CheckColumn_Regular

The AlwaysShowCheckboxesInCheckColumns property allows you to specify that checkboxes should always be displayed, regardless of the active mode.

BootstrapGrid_BatchEdit_CheckColumn_AlwaysShowCheckboxes

NOTE

Note that when a cell displays a checkbox in the browse mode, clicking a check box automatically triggers cell editing and changes the cell value. The GridBatchEditSettings.StartEditAction property value is ignored in this case.

See Also