<div dir="ltr"><div>I tried DataTables, tables format and now screen is using cross tabs, where semester offered is a taxtonomy. The issue I am having in all these is that semesters offered (fall, spring summer etc.) should be shown as column headings, with its contents showing as YES or NO.</div>
<div> </div><div>                                    Semester Offered</div><div>CSE 110           fall2013, spring 2013, summer 2013 </div><div>CSE 102           fall2013, spring 2013</div><div>CSE 101           spring 2014</div>
<div> </div><div>None of the suggestions are working for me. How can I acheive this with crosstab?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 16, 2014 at 2:17 PM, Metzler, David <span dir="ltr">&lt;<a href="mailto:metzlerd@evergreen.edu" target="_blank">metzlerd@evergreen.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">@vibanu … No… your reasoning is sound.  I would not change the db model you have.   Try using the crosstab views module as I suggested earlier.  Or if you are
 comfortable with SQL give Forena  a try: <a href="http://drupal.org/project/forena" target="_blank">http://drupal.org/project/forena</a>  (shameless plug).
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">IMHO, You have the right data structure… most flexible and most sustainable.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Dave<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">From:</span></b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt"> <a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>]
<b>On Behalf Of </b>Warren Vail<br>
<b>Sent:</b> Thursday, January 16, 2014 10:37 AM<br>
<b>To:</b> <a href="mailto:support@drupal.org" target="_blank">support@drupal.org</a><br>
<b>Subject:</b> Re: [support] how to show a view in a table format<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Not sure what the best answer would be here, in DB terms, you are trying to establish a many to many match, a course can be active during many semesters and a semester can have many courses in it.  In the form you showed me the student
 selects (or it&#39;s selected for him, based on the upcoming semester) a series of 5 semesters, and courses appearing in any of those 5 semesters are shown.  That was the reason I had suggested flattening one of the dimensions of the match bo coding each of the
 5 semesters as a separate column, and you are correct, you do wind up with redundant columns for as long as you keep the hidden columns, but implementing it in Drupal is simpler IMO.  for example; flattening the joins results in a simple test to see if any
 columns are checked (of the current 5 semesters) to decide whether who list the course, not listing courses that are not checked in any of the current 5 semester columns. Right or wrong that is the approach I would take.<u></u><u></u></p>

</div>
</div>
<div>
<p style="margin-bottom:12pt" class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jan 15, 2014 at 6:34 PM, vibanu &lt;<a href="mailto:vibanu@gmail.com" target="_blank">vibanu@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We added semester as taxtonomy term with values  Spring 2013, Fall 2013 and Spring 2014 for now to test this. Created a view of table format. We were thinking of showing a filter of semester for students to pick from and show one semester
 at a time. However, this also did not work because I could only see the courses that were offered. I was unable to list all courses with offered YES or NO next to it.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p style="margin-bottom:12pt" class="MsoNormal">On adding new field each semester, we will end up with so many redundant fields in this so called &#39;courses&#39; content type. Is this a suggested practice?<u></u><u></u></p>

</div>
<div>
<div>
<div>
<p class="MsoNormal">On Wed, Jan 15, 2014 at 2:09 PM, Warren Vail &lt;<a href="mailto:warren@vailtech.net" target="_blank">warren@vailtech.net</a>&gt; wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">It&#39;s easy to get tangled up in the details with Drupal, Datatables has a good interface with views, and hiding old columns, while not automatic, is simple.  I would add a single checkbox for each semester as a separate column and hide the
 old ones from displaying in the view, adding new columns each year or semester.  Displaying the checkbox (checked or not) would do the trick.  You might like the search box with datatables, it produces a very responsive filter that works with each character
 you type, and your table is not so large that response issues will show up.  You will need to play with CSS for styling, but nothing major as long as you don&#39;t mind manually hiding columns from time to time.<u></u><u></u></p>

</div>
<div>
<p style="margin-bottom:12pt" class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, Jan 14, 2014 at 10:59 AM, vibanu &lt;<a href="mailto:vibanu@gmail.com" target="_blank">vibanu@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentColor currentColor currentColor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-right:0in;margin-left:4.8pt">

<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We would like to replicate the following page into DRUPAL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.cs.stonybrook.edu/students/undergrad/CSEcourses.html" target="_blank">http://www.cs.stonybrook.edu/students/undergrad/CSEcourses.html</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We have content type of courses. We are struggling to find a solution on how or the best way to show the 4 semesters.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas are appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p style="margin-bottom:12pt" class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Jan 14, 2014 at 1:59 PM, vibanu &lt;<a href="mailto:vibanu@gmail.com" target="_blank">vibanu@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We would like to replicate the following page into DRUPAL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.cs.stonybrook.edu/students/undergrad/CSEcourses.html" target="_blank">http://www.cs.stonybrook.edu/students/undergrad/CSEcourses.html</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We have content type of courses. We are struggling to find a solution on how or the best way to show the 4 semesters.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas are appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>