AddEditField
void CAdminListRow::AddEditField( string $ID, string $HTML )
The AddEditField method adds a text edit field. The field is active in the editing mode only.
Parameters
Parameter | Description |
---|---|
ID | The cell identifier. |
HTML | The HTML code to be rendered in a table cell. |
Example:
// the AUTO parameter is displayed as "Yes" or "No", bold in the editing mode $row->AddViewField("AUTO", $f_AUTO == "Y" ? GetMessage("POST_U_YES") :
GetMessage("POST_U_NO")); $row->AddEditField("AUTO", "<b>".($f_AUTO == "Y" ? GetMessage("POST_U_YES") :
GetMessage("POST_U_NO"))."</b>");
© «Bitrix24», 2001-2024