one2manyeditor¶
- class camelot.view.controls.editors.one2manyeditor.One2ManyEditor(admin=None, parent=None, create_inline=False, direction='onetomany', field_name='onetomany', column_width=None, proxy=None, rows=5, **kw)[source]¶
Parameters: admin – the Admin interface for the objects on the one side of the relation
Parameters: create_inline – if False, then a new entity will be created within a new window, if True, it will be created inline
Parameters: - proxy – the proxy class to use to present the data in the list or the query to the table view
- column_width – the width of the editor in number of characters
- rows – minimum number of rows visible
after creating the editor, set_value needs to be called to set the actual data to the editor