def ColumnAttr(name='', attr=None, **kwargs):
    'Column using getattr/setattr of given attr.'
    return Column(name,
                  expr=attr if attr is not None else name,
                  getter=lambda col,row: getattrdeep(row, col.expr),
                  setter=lambda col,row,val: setattrdeep(row, col.expr, val),
                  **kwargs)
def ColumnAttr ( name = '' , attr = None , ** kwargs ) : return Column ( name , expr = attr if attr is not None else name , getter = lambda col , row : getattrdeep ( row , col . expr ) , setter = lambda col , row , val : setattrdeep ( row , col . expr , val ) , ** kwargs )
Column using getattr/setattr of given attr.