-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform Views.

Dataform Views: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
{{Dataform}}
{{Dataform}}
Dataform views allow you to control the way information is presented in the Dataform activity. In order for a Dataform activity to be active, a default view must be defined. By default, there is no limit to the number of views you can apply to a single Dataform activity (although your administrator can limit the max number of views).
{{Dataform Docs Note 1}}
{{Dataform Docs Note 1}}
==Views management==
Views are managed in the Manage | Views tab. Views management requires managetemplates capability.
[[Image:dataformviews.png|frame|left|Dataform views list]]<br clear="both" />
In order for a Dataform activity to be active, a default view must be defined.  
 
By default, there is no limit to the number of views you can add to a Dataform activity (although your administrator can limit the max number of views).  
*'''Visible''' - the visibility option controls the accessibility of specific Dataform view. There are three different visibility options: <br/>
Dataform views allow you to control the way information is presented in the Dataform activity.  
**[[Image:open_eye.png|open eye]] – all users have access the Dataform activity and the view is available on the view menu.<br/>
==[[Dataformview Aligned|Aligned]]==
**[[Image:eye_brackets.png|eye in brackets]] – all users have access the Dataform activity but the view will not be accessible from the view menu.<br/>
**[[Image:closed_eye.png|closed eye]] – Only managers can access this view
*'''Default (D)''' - default view, checking this box will make the view your default view. You must set a default view in order for the Dataform activity to be accessible.  
*'''Force Edit (E''') - by checking this box you set the defualt view for editing purposes. 
*'''Force More (M)'''
*'''Filter'''
*'''Edit'''
*'''Duplicate'''
*'''Reset''' - reset the view to its default settings.
 
==View types==
===[[Dataformview Aligned|Aligned]]===
This view presents data in rows aligned to the left.
This view presents data in rows aligned to the left.
===[[Dataformview CSV|CSV]]===
==[[Dataformview CSV|CSV]]==
This view allows you to import and export data to a csv file.
This view allows you to import and export data to a csv file.
===[[Dataformview Grid|Grid]]===
==[[Dataformview Grid|Grid]]==
Two dimensional view where each entry is presented in a table cell. This view allows you to control the number of columns and raws that will be displayed on a single page.
Two dimensional view where each entry is presented in a table cell. This view allows you to control the number of columns and raws that will be displayed on a single page.
An extension to the grid view that allows you to add your own header and footer before and after repeated table entry.
An extension to the grid view that allows you to add your own header and footer before and after repeated table entry.
===[[Dataformview Interval|Interval]]===
==[[Dataformview Interval|Interval]]==
This view allows you to set duration interval according to which the information is displayed. You can group the information by certain field tag or rating and you can control the the number of entries to be displayed on each page. This view is particularly useful for content display.
This view allows you to set duration interval according to which the information is displayed. You can group the information by certain field tag or rating and you can control the the number of entries to be displayed on each page. This view is particularly useful for content display.
===[[Dataformview PDF|PDF]]===
==[[Dataformview PDF|PDF]]==
With this view you can display and export data to PDF file.
With this view you can display and export data to PDF file.
===[[Dataformview RSS|RSS]]===
==[[Dataformview RSS|RSS]]==
With this view you can display and export data to PDF file.
With this view you can display and export data to PDF file.
===[[Dataformview Tabular|Tabular]]===
==[[Dataformview Tabular|Tabular]]==
The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.
The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.

Revision as of 21:03, 24 January 2014


Views are managed in the Manage | Views tab. Views management requires managetemplates capability. In order for a Dataform activity to be active, a default view must be defined. By default, there is no limit to the number of views you can add to a Dataform activity (although your administrator can limit the max number of views). Dataform views allow you to control the way information is presented in the Dataform activity.

Aligned

This view presents data in rows aligned to the left.

CSV

This view allows you to import and export data to a csv file.

Grid

Two dimensional view where each entry is presented in a table cell. This view allows you to control the number of columns and raws that will be displayed on a single page. An extension to the grid view that allows you to add your own header and footer before and after repeated table entry.

Interval

This view allows you to set duration interval according to which the information is displayed. You can group the information by certain field tag or rating and you can control the the number of entries to be displayed on each page. This view is particularly useful for content display.

PDF

With this view you can display and export data to PDF file.

RSS

With this view you can display and export data to PDF file.

Tabular

The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.