24.20 TEXTAREA Function
This function creates text areas.
Syntax
APEX_ITEM.TEXTAREA(
p_idx IN NUMBER,
p_value IN VARCHAR2 DEFAULT NULL,
p_rows IN NUMBER DEFAULT 40,
p_cols IN NUMBER DEFAULT 4,
p_attributes IN VARCHAR2 DEFAULT NULL,
p_item_id IN VARCHAR2 DEFAULT NULL,
p_item_label IN VARCHAR2 DEFAULT NULL)
RETURN VARCHAR2;
Parameters
Table 24-20 TEXTAREA Parameters
Parameter | Description |
---|---|
|
Number to identify the item you want to generate. The number determines which See Also: "APEX_APPLICATION" |
|
Value of the text area item. |
|
Height of the text area (HTML rows attribute) |
|
Width of the text area (HTML column attribute). |
|
Extra HTML parameters you want to add. |
|
HTML attribute ID for the |
|
Invisible label created for the item. |
Example
The following example demonstrates how to create a text area based on a SQL query.
SELECT APEX_ITEM.TEXTAREA(3,ename,5,80) a
FROM emp
Parent topic: APEX_ITEM (Legacy)