Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Tabular view.

Tabular view: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
*'''Visibility''' - this setting allows denying students' access to the view. The setting does not affect managers' (manage templates capability) access. '''Disabled:''' Students cannot access the view and do not see the view name in the views menu. '''Enabled:''' Students can access the view but do not see the view name in the views menu. '''Visible:''' Students can access the view and can see the view name in the views menu.  
*'''Visibility''' - this setting allows denying students' access to the view. The setting does not affect managers' (manage templates capability) access. '''Disabled:''' Students cannot access the view and do not see the view name in the views menu. '''Enabled:''' Students can access the view but do not see the view name in the views menu. '''Visible:''' Students can access the view and can see the view name in the views menu.  
*'''Filter''' - add any pre-defined filter to your current view (Dataform allows you to build customized filters; go to Manage>Filters).
*'''Filter''' - add any pre-defined filter to your current view (Dataform allows you to build customized filters; go to Manage>Filters).
*'''Group by''' -  
*'''Group by''' - use to group the result-set by one or more columns chosen from the drop-down list.
*'''Per page''' -  
*'''Per page''' - set the number of entries presented per page.
==View timing==
==View timing==
Set restrict access time to the view. Set From and/or To dates to restrict access to the view only between the specified dates to any one without access any time capability. Tick the 'Set as default' checkbox to set the view as the default view when it becomes available.
==View template==
==View template==
The view template allows you to control the layout of the information displayed on the page by adding/removing tags.
==Entry template==
==Entry template==
Use this section to control entry display. Set a header row for the table, add/remove columns and rows and control which field and general tags will be displayed and where.


=Tips and tricks=
=Tips and Tricks=
*Table editing controls – you can add table controls icons to your text editor, making it easier for you to edit tables and controlling the overall layout of this view. Go to ''Administration>Site administration>Plugins>Text editors>Manage editors>TinyMCE HTML editor>General settings'' in the ''Editor toolbar'' section change the word table to tablecontrols.

Latest revision as of 20:14, 25 October 2013

In a tabular view the data is displayed in a customizable tabular format. You can create a custom table layout by specifying what data should be displayed, in what order, how the data should be sorted, and whether or not the data should be grouped. The tabular view is useful both for editing and display purposes.

Setup

View general settings

  • View name - short name for the view. The view name can be used in certain view patterns in which case the format of the name should be as simple as possible, only alpha or alphanumeric characters, to avoid pattern parsing problems.
  • View description - short description of the view purpose and characteristics to allow managers to see at a glance what each view is intended for. This description is displayed only in the view management list.
  • Visibility - this setting allows denying students' access to the view. The setting does not affect managers' (manage templates capability) access. Disabled: Students cannot access the view and do not see the view name in the views menu. Enabled: Students can access the view but do not see the view name in the views menu. Visible: Students can access the view and can see the view name in the views menu.
  • Filter - add any pre-defined filter to your current view (Dataform allows you to build customized filters; go to Manage>Filters).
  • Group by - use to group the result-set by one or more columns chosen from the drop-down list.
  • Per page - set the number of entries presented per page.

View timing

Set restrict access time to the view. Set From and/or To dates to restrict access to the view only between the specified dates to any one without access any time capability. Tick the 'Set as default' checkbox to set the view as the default view when it becomes available.

View template

The view template allows you to control the layout of the information displayed on the page by adding/removing tags.

Entry template

Use this section to control entry display. Set a header row for the table, add/remove columns and rows and control which field and general tags will be displayed and where.

Tips and Tricks

  • Table editing controls – you can add table controls icons to your text editor, making it easier for you to edit tables and controlling the overall layout of this view. Go to Administration>Site administration>Plugins>Text editors>Manage editors>TinyMCE HTML editor>General settings in the Editor toolbar section change the word table to tablecontrols.