Class f_dataGrid
Object
f_object
f_eventTarget
f_component
f_grid
f_dataGrid
- All Implemented Interfaces:
- Element, fa_additionalInformationManager, fa_aria, fa_autoOpen, fa_autoScroll, fa_cardinality, fa_checkManager, fa_clientData, fa_clientFullState, fa_commands, fa_disabled, fa_draggable, fa_droppable, fa_eventTarget, fa_filterProperties, fa_immediate, fa_itemsManager, fa_pagedComponent, fa_readOnly, fa_scrollPositions, fa_selectionManager, fa_selectionProvider, fa_serializable, fa_subMenu, HTMLElement, Node
- Direct Known Subclasses:
- f_dataGridPopup
public class f_dataGrid
- extends f_grid
- implements fa_autoOpen, fa_readOnly, fa_droppable, fa_checkManager, fa_draggable
|
Method Summary |
Object |
f_addRow(any value,
String... columnValue1)
|
undefined |
f_checkAllPage()
|
boolean |
f_checkRow(any rowValue,
boolean show)
Check a row. |
Number |
f_clear(any... rowValue1)
|
String |
f_getCellImageURL(any row,
any columnIndex)
Returns the imageURL of the cell. |
String |
f_getCellValue(any rowValue,
Number columnIndex)
Returns the content of the cell specified by row and column. |
boolean |
f_getChecked(any rowValue)
Returns true if the receiver is checked, and false otherwise |
String |
f_getElementLabel(any rowValue)
Returns label of a row |
String[] |
f_getRowValues(any rowValue,
any onlyVisible)
Returns an array of content of each cell of the specified row. |
Object |
f_getRowValuesSet(any rowValue,
any onlyVisible)
Returns into an object, contents of each cell of the specified row. |
void |
f_setCellImageURL(Number row,
Number columnIndex,
String imageURL)
Specify the image of a cell. |
undefined |
f_uncheckAll()
|
boolean |
f_uncheckRow(any rowValue)
Uncheck a row. |
| Methods inherited from class f_grid |
GetGridFromComponent, RegisterSortManager, f_clear, f_clearAll, f_clearArray, f_clearSort, f_collapseAllAdditionalInformations, f_computeEventColumnId, f_deselectRow, f_expandAllAdditionalInformations, f_getColumnId, f_getColumnName, f_getColumnOrderState, f_getColumns, f_getDragEffects, f_getDragItems, f_getDragItemsElement, f_getDragItemsValue, f_getDragTypes, f_getEmptyDataMessage, f_getRowByValue, f_getRowValue, f_getRowValueAtIndex, f_getRowValueFromCommponent, f_getSortedColumns, f_hasElementAdditionalInformation, f_isRefreshFullUpdateState, f_isRowSelected, f_isSelected, f_refreshContent, f_selectAllPage, f_selectRow, f_setColumnSort, f_setEmptyDataMessage, f_setFirst, f_setHeight, f_setRefreshFullUpdateState, f_setWidth, f_showRow, f_unselectAll |
| Methods inherited from class f_component |
f_findComponent, f_findSiblingComponent, f_getAccessKey, f_getBackgroundColor, f_getDocument, f_getForegroundColor, f_getHeight, f_getHelpMessage, f_getHelpURL, f_getHiddenMode, f_getId, f_getParent, f_getToolTipText, f_getVisible, f_getWidth, f_getX, f_getY, f_isVisible, f_setBackgroundColor, f_setFocus, f_setForegroundColor, f_setHeight, f_setHelpMessage, f_setHelpURL, f_setHiddenMode, f_setToolTipText, f_setVisible, f_setWidth, f_setX, f_setY, f_show, toString |
f_setCellImageURL
public void f_setCellImageURL(Number row,
Number columnIndex,
String imageURL)
- Specify the image of a cell.
- Parameters:
row - columnIndex - imageURL -
f_addRow
public Object f_addRow(any value,
String... columnValue1)
- Parameters:
value - The value of the new rowcolumnValue1 - A parameter for each column
f_getRowValuesSet
public Object f_getRowValuesSet(any rowValue,
any onlyVisible)
- Returns into an object, contents of each cell of the specified row.
- Parameters:
rowValue - Row value, a row object, or the index of the row into the table.
- Returns:
- Boolean onlyVisible Keey only visible columns.
f_getCellImageURL
public String f_getCellImageURL(any row,
any columnIndex)
- Returns the imageURL of the cell.
f_getChecked
public boolean f_getChecked(any rowValue)
- Returns
true if the receiver is checked, and false otherwise
- Parameters:
rowValue - Value associated to the row, or a row object.
- Returns:
- The checked state of the row
f_clear
public Number f_clear(any... rowValue1)
- Overrides:
f_clear in class f_grid
- Parameters:
rowValue1 - The value of the row to remove
- Returns:
- Number of removed rows.
f_getRowValues
public String[] f_getRowValues(any rowValue,
any onlyVisible)
- Returns an array of content of each cell of the specified row.
- Parameters:
rowValue - Row value, a row object, or the index of row into the table.
- Returns:
- Boolean onlyVisible Key only visible columns.
f_checkRow
public boolean f_checkRow(any rowValue,
boolean show)
- Check a row.
- Parameters:
rowValue - Value associated to the rowshow - Show the checked row.
- Returns:
- Returns
true if check has successed.
f_getElementLabel
public String f_getElementLabel(any rowValue)
- Returns label of a row
- Parameters:
rowValue - Value of row
f_getCellValue
public String f_getCellValue(any rowValue,
Number columnIndex)
- Returns the content of the cell specified by row and column.
- Parameters:
rowValue - Row value, row object or the index of row the into table.columnIndex - Index of the column.
f_checkAllPage
public undefined f_checkAllPage()
f_uncheckRow
public boolean f_uncheckRow(any rowValue)
- Uncheck a row.
- Parameters:
rowValue - Value associated to the row
- Returns:
- Returns
true if uncheck has successed.
f_uncheckAll
public undefined f_uncheckAll()