Bitrix Site Manager

CAdminListRow::AddCheckField

void
CAdminListRow::AddCheckField(
  string $ID
)

The AddCheckField method adds a checkbox field. The checkbox is checked is the cell value is "Y". The field is active in the editing mode only.

Parameters

Parameter Description
ID The cell identifier.

Example:


// the ACTIVE and VISIBLE flags are edited as checkboxes
$row->AddCheckField("ACTIVE"); 
$row->AddCheckField("VISIBLE");