grid
¶
Module Contents¶
-
grid.
get_value
(record, attribute, default=None)¶
-
class
grid.
CustomGrid
(request, *args, **kwargs)¶ -
checkbox_column_format
(column_number, i, record)¶
-
render_td
(renderer, **data)¶
-
label_td
(attribute, default=None)¶
-
time_ago_td
(attribute)¶
-
timestamp_td
(attribute)¶
-
size_td
(attribute)¶
-
userid_td
(attribute)¶
-
user_td
(attribute)¶
-
render_title_td
(title, abstract=None, keywords=list, data=list, format=None, source="#")¶
-
render_flag_td
(flag=False, tooltip="")¶
-
render_format_td
(format, source)¶
-
render_preview_td
(format, source)¶
-
generate_header_link
(column_number, column, label_text)¶ Override of the ObjectGrid to customize the headers. This is mostly taken from the example code in ObjectGrid itself.
-
default_header_column_format
(column_number, column_name, header_label)¶ Override of the ObjectGrid to use <th> for header columns
-
default_header_ordered_column_format
(column_number, column_name, header_label)¶ Override of the ObjectGrid to use <th> and to add an icon that represents the sort order for the column.
-