Package ZenWidgets :: Module ZenTableState :: Class ZenTableState
[hide private]
[frames] | no frames]

Class ZenTableState

source code

Instance Methods [hide private]
 
__init__(self, request, tableName, defaultBatchSize, **keys) source code
 
setTableStateFromKeys(self, keys) source code
 
updateFromRequest(self, request)
update table state based on request
source code
 
getPageNavigation(self) source code
 
buildPageNavigation(self, objects) source code
 
_pageLabel(self, objects, index)
make label for page navigation if field isn't sorted use page #
source code
 
_buildTextLabel(self, item) source code
 
setTableState(self, attname, value, default=None, reset=False) source code
 
addFilterField(self, fieldName)
make sure we only add non-dup filterfields
source code
Class Variables [hide private]
  changesThatResetStart = ['batchSize', 'filter', 'sortedHeader'...
  requestAtts = ['batchSize', 'filter', 'filterFields', 'sortedH...
  security = ClassSecurityInfo()
  __ac_permissions__ = ()
  __allow_access_to_unprotected_subobjects__ = 1
Class Variable Details [hide private]

changesThatResetStart

Value:
['batchSize',
 'filter',
 'sortedHeader',
 'sortedSence',
 'onlyMonitored']

requestAtts

Value:
['batchSize',
 'filter',
 'filterFields',
 'sortedHeader',
 'sortedSence',
 'sortRule',
 'start',
 'URL',
...