CSC/ECE 517 Fall 2016/E1650. Sort instructor views alphabetically by default: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Minor change 2)
(Main skeleton.)
Line 1: Line 1:
== Purpose ==
Currently Instructor can view the Reports according to value of 'Average Overall Volume' for the Reviewer.
== Our Business Model ==
We plan to change the view, so that
== Implementation ==
Implementation of sorting algorithm for Instructor views using ''''TableSorter''''. '''TableSorter''' is a [[jQuery]] plugin for turning a standard [[HTML]] table with table-head and table-body tags into a sortable table without rendering fresh. TableSorter can parse and sort many data types linked with the table column.
Implementation of sorting algorithm for Instructor views using ''''TableSorter''''. '''TableSorter''' is a [[jQuery]] plugin for turning a standard [[HTML]] table with table-head and table-body tags into a sortable table without rendering fresh. TableSorter can parse and sort many data types linked with the table column.


=== Requirements ===


== Design ==
To integrate the table sorter into any view two things are needed:
To integrate the table sorter into any view two things are needed:


i) Include a gem in Gemfile
i) Include a gem in Gemfile
*''gem 'jquery-tablesorter'''
<pre>
''gem 'jquery-tablesorter'''
</pre>


ii) Including jQuery-tablesorter in  app/assets/javascripts/application.js
ii) Including jQuery-tablesorter in  app/assets/javascripts/application.js
*''//= require jquery-tablesorter''
<pre>
''//= require jquery-tablesorter''
</pre>
This loads only the core-widgets. It will neither include the extracted widgets nor any files from the addons and extras directories.
 
=== Sorting on Reviewer's Name ===
 
 
=== Sorting on Metric's Avg. Vol ===
 
 
== Testing ==
 
=== Test Results ===
 
== References ==


This loads only the core-widgets. It will neither include the extracted widgets nor any files from the addons and extras directories.
== External Links ==

Revision as of 17:38, 28 October 2016

Purpose

Currently Instructor can view the Reports according to value of 'Average Overall Volume' for the Reviewer.


Our Business Model

We plan to change the view, so that


Implementation

Implementation of sorting algorithm for Instructor views using 'TableSorter'. TableSorter is a jQuery plugin for turning a standard HTML table with table-head and table-body tags into a sortable table without rendering fresh. TableSorter can parse and sort many data types linked with the table column.

Requirements

To integrate the table sorter into any view two things are needed:

i) Include a gem in Gemfile

''gem 'jquery-tablesorter'''

ii) Including jQuery-tablesorter in app/assets/javascripts/application.js

''//= require jquery-tablesorter''

This loads only the core-widgets. It will neither include the extracted widgets nor any files from the addons and extras directories.

Sorting on Reviewer's Name

Sorting on Metric's Avg. Vol

Testing

Test Results

References

External Links