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 |