{% macro ko_grid_body(include_ids=None, exclude_ids=None) -%} {% set _include_ids = set([ 'ko_range_filter', 'ko_grid_row_click_menu', 'ko_action_form', 'ko_grid_filter_choices', 'ko_grid_filter_popup', 'ko_grid_search', 'ko_grid_nav', 'ko_grid_bottom_nav', 'ko_grid_no_results', 'ko_grid_table', 'ko_grid_body', 'ko_grid_pagination', 'ko_grid_rows_per_page_dialog', 'ko_fk_grid_widget', 'ko_fk_grid_widget_row', 'ko_fk_grid_widget_controls' ]) -%} {% if include_ids is not none -%} {% set _include_ids = _include_ids.union(include_ids) -%} {% endif -%} {% if exclude_ids is not none -%} {% set _include_ids = _include_ids.difference(exclude_ids) -%} {% endif -%} {% if 'ko_range_filter' in _include_ids -%} {% endif -%} {% if 'ko_grid_row_click_menu' in _include_ids -%} {% endif -%} {% if 'ko_action_form' in _include_ids -%} {% endif -%} {% if 'ko_grid_filter_choices' in _include_ids -%} {% endif -%} {% if 'ko_grid_breadcrumb_filter_choices' in _include_ids -%} {% endif -%} {% if 'ko_grid_filter_popup' in _include_ids -%} {% endif -%} {% if 'ko_grid_breadcrumb_filter_popup' in _include_ids -%} {% endif -%} {% if 'ko_grid_search' in _include_ids -%} {% endif -%} {% if 'ko_grid_nav' in _include_ids -%} {% endif -%} {% if 'ko_grid_bottom_nav' in _include_ids -%} {% endif -%} {% if 'ko_grid_no_results' in _include_ids -%} {% endif -%} {% if 'ko_grid_table' in _include_ids -%} {% endif -%} {% if 'ko_grid_body' in _include_ids -%} {% endif -%} {% if 'ko_grid_pagination' in _include_ids -%} {% endif -%} {% if 'ko_grid_rows_per_page_dialog' in _include_ids -%} {% endif -%} {% if 'ko_fk_grid_widget' in _include_ids -%} {% endif -%} {% if 'ko_fk_grid_widget_row' in _include_ids -%} {% endif -%} {% if 'ko_fk_grid_widget_controls' in _include_ids -%} {% endif -%} {% endmacro -%} {% if _render_ -%} {% if not isinstance(_render_, dict) -%} {% set _render_ = { 'include_ids': include_ids or None, 'exclude_ids': exclude_ids or None, } -%} {% endif -%} {{ ko_grid_body(**_render_) }} {% endif -%}