assign widget to IRecordsTable definition
This commit is contained in:
parent
4343dc517f
commit
45d568b77b
1 changed files with 4 additions and 2 deletions
6
table.py
6
table.py
|
@ -28,7 +28,7 @@ from zope.interface import implementer, implements, Interface, Attribute
|
|||
from zope.schema.interfaces import IContextSourceBinder, IIterableSource
|
||||
|
||||
from cybertools.composer.schema.factory import SchemaFactory
|
||||
from cybertools.composer.schema.grid.interfaces import KeyTable
|
||||
from cybertools.composer.schema.grid.interfaces import KeyTable, Records
|
||||
from cybertools.composer.interfaces import IInstance
|
||||
from loops.common import AdapterBase, adapted, baseObject
|
||||
from loops.external.element import Element
|
||||
|
@ -67,7 +67,9 @@ IDataTable['columns'].hidden = True
|
|||
|
||||
class IRecordsTable(IDataTable):
|
||||
|
||||
pass
|
||||
data = Records(title=_(u'Table Data'),
|
||||
description=_(u'Table Data'),
|
||||
required=False)
|
||||
|
||||
|
||||
class DataTable(AdapterBase):
|
||||
|
|
Loading…
Add table
Reference in a new issue