Documentation

AddCalendarField

void
CAdminListRow::AddCalendarField(
  string $ID[, 
  array $arAttributes = array()]
)

The AddCalendarField method adds a date editing field. The field is active in the editing mode only.

Parameters

Parameter Description
ID The cell identifier.
arAttributes An array of additional INPUT tag attributes in the format: "attribute" => "value".
useTime If true, calendar will offer to input the time. False by default.

Example:

$row->AddCalendarField(
	"DATE", 
	array(
		"size" => "15"
	)
);


© «Bitrix24», 2001-2024