Class Index | File Index

Classes


Class Rico.SimpleGrid


Extends Rico.GridCommon.
Create & manage an unbuffered grid. Supports: frozen columns & headings, resizable columns.
Defined in: <ricoSimpleGrid.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Rico.SimpleGrid(tableId, options)
Method Summary
Method Attributes Method Name and Description
 
 
 
 
filterId(colnum)
 
 
 
 
hideRow(rownum)
Hide a row in the grid.
 
openPopup(elem, popupobj)
 
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.
 
 
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
Class Detail
Rico.SimpleGrid(tableId, options)
Parameters:
tableId
options
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()

Documentation generated by JsDoc Toolkit 2.1.0 on Fri Mar 27 2009 23:48:25 GMT-0500 (CDT)