ToolDef is a class to define configurations of tool in ResultList such as; type, align, tooltip settings of tools.
Description | ||
new ToolDef() |
Create a new ToolDef object. |
Description | ||
ALIGN_BOTTOM |
ALIGN_BOTTOM: |
|
ALIGN_LEFT |
ALIGN_LEFT: |
|
ALIGN_RIGHT |
ALIGN_RIGHT: |
|
ALIGN_TOP |
ALIGN_TOP: |
|
TYPE_BUFFER |
TYPE_BUFFER: |
|
TYPE_CHECKBOX |
TYPE_CHECKBOX: |
|
TYPE_DELETE |
TYPE_DELETE: |
|
TYPE_DOMNODE |
TYPE_DOMNODE: |
|
TYPE_EDIT |
TYPE_EDIT: |
|
TYPE_IMAGEBUTTON |
TYPE_IMAGEBUTTON: |
|
TYPE_ROUTING |
TYPE_ROUTING: |
|
TYPE_TEXT |
TYPE_TEXT: |
Type | Description | |
align | String |
Align of element. (can use constant) |
fieldName | String |
Field name where data is stored. This may be from a JSON file or a stored procedure response. |
image | Object |
If 'toolType' is TYPE_IMAGEBUTTON must be require image. This Object contains 2 values. |
image.normal | String |
default normal image |
image.over | String |
default over image |
label | String |
Label of text. If 'toolType' is TYPE_TEXT must be require. |
toolClass | String |
css classname for tool. |
tooltip | String |
Tooltip of icon button. |
toolType | String |
Type of tool. (See constants.) |
Return type | Description | |
_preparingColumn(tools) | None |
|
Create a new ToolDef object.
Field name where data is stored. This may be from a JSON file or a stored procedure response.
If 'toolType' is TYPE_IMAGEBUTTON must be require image. This Object contains 2 values.