Home > APEX_ITEM > 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 DEAULT 40, p_cols IN NUMBER DEFAULT 4 p_attributes IN VARCHAR2 DEFAULT, p_item_id IN VARCHAR2 DEFAULT NULL, p_item_label IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameters
Table: TEXTAREA Parameters describes the parameters available in the TEXTAREA
function.
TEXTAREA Parameters
Parameter | Description |
---|---|
|
Number to identify the item you want to generate. The number will determine which See Also: "APEX_APPLICATION" |
|
Value of the text area item. |
p_rows |
Height of the text area (HTML rows attribute) |
p_cols |
Width of the text area (HTML column attribute). |
|
Extra HTML parameters you want to add. |
|
HTML attribute ID for the |
|
Label of the text area 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