1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
.. _builtin-columns:
Built-in columns
================
For common use-cases the following columns are included:
- `.BooleanColumn` -- renders boolean values
- `.CheckBoxColumn` -- renders ``checkbox`` form inputs
- `.Column` -- generic column
- `.DateColumn` -- date formatting
- `.DateTimeColumn` -- ``datetime`` formatting in the local timezone
- `.EmailColumn` -- renders ``<a href="mailto:...">`` tags
- `.FileColumn` -- renders files as links
- `.JSONColumn` -- renders JSON as an indented string in ``<pre></pre>``
- `.LinkColumn` -- renders ``<a href="...">`` tags (compose a Django URL)
- `.ManyToManyColumn` -- renders a list objects from a `ManyToManyField`
- `.RelatedLinkColumn` -- renders ``<a href="...">`` tags linking related objects
- `.TemplateColumn` -- renders template code
- `.TimeColumn` -- time formatting
- `.URLColumn` -- renders ``<a href="...">`` tags (absolute URL)
|