Class Rico.SimpleGrid
Extends
Rico.GridCommon.
Create & manage an unbuffered grid.
Supports: frozen columns & headings, resizable columns.
Defined in: <ricoSimpleGrid.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Rico.SimpleGrid(tableId, options)
|
| Method Attributes | Method Name and Description |
|---|---|
|
filterId(colnum)
|
|
|
getFilterValues(col)
|
|
|
handleScroll(e)
|
|
|
hideRow(rownum)
Hide a row in the grid.
|
|
|
openPopup(elem, popupobj)
|
|
|
registerScrollMenu(menu)
Register a menu that will only be used in the scrolling part of the grid.
|
|
|
searchRows(ColIdx, SearchString, ShowMatch)
Search for rows that contain SearchString in column ColIdx.
|
|
|
Unhide all rows in the grid
|
|
|
showRow(rownum)
Unhide a row in the grid.
|
|
|
sizeDivs()
|
- Methods borrowed from class Rico.GridCommon:
- addHeadingRow, attachMenu, attachMenuEvents, availHt, baseInit, baseSizeDivs, blankRow, borderWidth, cancelMenu, cell, chooseColumns, clearDblClick, createColumnArray, createDiv, createDivs, exportFinish, exportStart, exportStyle, firstVisible, getColumnInfo, getCookie, handleContextMenu, handleDblClick, hideMsg, initFilterImage, listInvisible, pluginScroll, printVisible, setCookie, setFilterImage, setHorizontalScroll, setOtherHdrCellWidths, showAll, showMsg, slideFilterDown, slideFilterUp, toggleFilterRow, unplugScroll
Method Detail
applyFilters()
closeMenu()
createFilters(r)
- Parameters:
- r
filterId(colnum)
- Parameters:
- colnum
getFilterValues(col)
- Parameters:
- col
handleMenuClick(e)
- Parameters:
- e
handleScroll(e)
- Parameters:
- e
hideRow(rownum)
Hide a row in the grid.
sizeDivs() should be called after this function has completed.
- Parameters:
- rownum
openPopup(elem, popupobj)
- Parameters:
- elem
- popupobj
registerScrollMenu(menu)
Register a menu that will only be used in the scrolling part of the grid.
If submenus are used, they must be registered after the main menu.
- Parameters:
- menu
searchRows(ColIdx, SearchString, ShowMatch)
Search for rows that contain SearchString in column ColIdx.
If ShowMatch is false, then matching rows are hidden, if true then mismatching rows are hidden.
- Parameters:
- ColIdx
- SearchString
- ShowMatch
showAllRows()
Unhide all rows in the grid
showRow(rownum)
Unhide a row in the grid.
sizeDivs() should be called after this function has completed.
- Parameters:
- rownum
simpleGridInit()
sizeDivs()