Package Products :: 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
keys(self) Behave like a REQUEST, for report plugins that use REQUEST to pull objects (for example, the interface plugin) | source code
values(self) Behave like a REQUEST, for report plugins that use REQUEST to pull objects (for example, the interface plugin). | 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()`

Class Variable Details | [hide private]

  ### changesThatResetStart Value:
      ["batchSize", "filter", "sortedHeader", "sortedSence", "onlyMonitored"
      ]

  ### requestAtts Value:
      ["batchSize", "filter", "filterFields", "sortedHeader", "sortedSence",
       "sortRule", "start", "URL", "onlyMonitored"]