flare.viur.widgets.list

Module Contents

Classes

ListWidget

Provides the interface to list-applications.

SkellistItem

Extended version for a button with a text and icon, which binds itself to an event function.

ListSelection

class flare.viur.widgets.list.ListWidget(module, filter=None, columns=None, filterID=None, filterDescr=None, batchSize=None, context=None, autoload=True, *args, **kwargs)

Bases: flare.html5.Div

Provides the interface to list-applications.

It acts as a data-provider for a DataTable and binds an action-bar to this table.

setSelector(self, callback, multi=True, allow=None)

Configures the widget as selector for a relationalBone and shows it.

onAcceptSelectionChanged(self, event, *args, **kwargs)
static canHandle(moduleName, moduleInfo)
class flare.viur.widgets.list.SkellistItem(skel)

Bases: flare.button.Button

Extended version for a button with a text and icon, which binds itself to an event function.

buildWidget(self)
onActiveSelectionChanged(self, event, *args, **kwargs)
class flare.viur.widgets.list.ListSelection(modulname, filter=None, title=None, id=None, className=None, icon=None, enableShortcuts=True, closeable=True, footer=True, *args, **kwargs)

Bases: flare.popup.Popup

requestClients(self)
onRequestList(self, skellist)
onActiveSelectionChanged(self, event, *args, **kwargs)
activateSelection(self, widget)
reloadList(self)
buildListSelection(self)
onApplyfilterChanged(self, value, *args, **kwargs)
onAcceptSelectionChanged(self, event, *args, **kwargs)
onActiveButtonChanged(self, event, *args, **kwargs)
acceptSelection(self)
setContent(self, widget)