web/views/tableview.py
changeset 10829 550c2d27339f
parent 10718 97d398e17f8c
child 10907 9ae707db5265
equal deleted inserted replaced
10828:0e5a9a03a79d 10829:550c2d27339f
    40 All those classes are rendered using a *layout*:
    40 All those classes are rendered using a *layout*:
    41 
    41 
    42 .. autoclass:: cubicweb.web.views.tableview.TableLayout
    42 .. autoclass:: cubicweb.web.views.tableview.TableLayout
    43    :members:
    43    :members:
    44 
    44 
    45 There is by default only on table layout, using the 'table_layout' identifier,
    45 There is by default only one table layout, using the 'table_layout' identifier,
    46 that is referenced by table views
    46 that is referenced by table views
    47 :attr:`cubicweb.web.views.tableview.TableMixIn.layout_id`.  If you want to
    47 :attr:`cubicweb.web.views.tableview.TableMixIn.layout_id`.  If you want to
    48 customize the look and feel of your table, you can either replace the default
    48 customize the look and feel of your table, you can either replace the default
    49 one by yours, having multiple variants with proper selectors, or change the
    49 one by yours, having multiple variants with proper selectors, or change the
    50 `layout_id` identifier of your table to use your table specific implementation.
    50 `layout_id` identifier of your table to use your table specific implementation.
    51 
    51 
    52 Notice you can gives options to the layout using a `layout_args` dictionary on
    52 Notice you can gives options to the layout using a `layout_args` dictionary on
    53 your class.
    53 your class.
    54 
    54 
    55 If you can still find a view that suit your needs, you should take a look at the
    55 If you still can't find a view that suit your needs, you should take a look at the
    56 class below that is the common abstract base class for the three views defined
    56 class below that is the common abstract base class for the three views defined
    57 above and implements you own class.
    57 above and implement your own class.
    58 
    58 
    59 .. autoclass:: cubicweb.web.views.tableview.TableMixIn
    59 .. autoclass:: cubicweb.web.views.tableview.TableMixIn
    60    :members:
    60    :members:
    61 """
    61 """
    62 
    62