[gradebook2-dev] Fwd: Refreshing column headers

Beth Kirschner bkirschn at umich.edu
Fri Nov 5 10:42:03 PDT 2010


Hi Thomas,

   I've appended the email thread that Jim was referring to at the bottom of this email -- were they perhaps lost in some email filter? I think he was hoping for some suggestions.

Thanks,
- Beth

-------- Original Message --------
Subject:	Help with grbk-483
Date:	Fri, 5 Nov 2010 12:19:20 -0400
From:	Jim Eng<jimeng at umich.edu>
To:	tpamsler at ucdavis.edu, ucd-sakai-dev at smartsite.ucdavis.edu, bethakirschner at gmail.com, dxp at umich.edu

Hi Thomas, 

Did you get my snails yesterday with questions related to updating the grid  
headers?

Thanks.

Jim



Begin forwarded message:

> From: Jim Eng <jimeng at umich.edu>
> Date: November 2, 2010 5:06:56 PM EDT
> To: Jim Eng <jimeng at umich.edu>
> Cc: ucd-sakai-dev at smartsite.ucdavis.edu, Beth Kirschner <bkirschn at umich.edu>, gradebook2-dev at collab.sakaiproject.org, David Pang <dxp at umich.edu>
> Subject: Re: [gradebook2-dev] Refreshing column headers
> 
> I made some screenshots to make clearer what I'm asking.  First here's the UI showing the "Show Weighted" button next to the search form in the grid tool bar:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb2-points.png
Type: image/png
Size: 87631 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101105/f33f4d03/attachment-0004.png 
-------------- next part --------------
> 
> 
> 
> Notice that the column header for HW1 says "HW1 [10 pts]".  When I click the "Show Weighted" button, the cells in the grid get updated, but the column headers do not, as shown by the next screen shot:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb2-percent.png
Type: image/png
Size: 101178 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101105/f33f4d03/attachment-0005.png 
-------------- next part --------------
> 
> 
> Notice that the column header for HW1 still says "HW1 [10 pts]".  I can get the column headers to change by editing any item (by double clicking the title in the left panel and then clicking the "Save/Close" button in the edit dialog).  The column headers will then get updated, as shown in the next screen shot:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb2-percent-updated.png
Type: image/png
Size: 99731 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101105/f33f4d03/attachment-0006.png 
-------------- next part --------------
> 
> 
> Notice that the column header for HW1 now says "HW1 [4%]". If we click the "Show Weighted" button again, the cells get updated correctly but the column headers do not get updated:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gb2-points-updated.png
Type: image/png
Size: 99105 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101105/f33f4d03/attachment-0007.png 
-------------- next part --------------
> 
> 
> What we'd like is for clicking the "Show Weighted" button to update both the cells in the grid *AND* the column headers.  
> 
> Any suggestions about how to trigger that?  
> 
> BTW, the branch we are working in is based on the 1.3.0 tag.
> 
> Thanks.
> 
> Jim
> 
> 
> 
> On Nov 2, 2010, at 4:27 PM, Jim Eng wrote:
> 
>> My question is in the context of clicking the "Show Weighted" button. David added this button.  When I click the button, the cells in the grid change and display percentages instead of points, but the column headers still show points. I I am in the "Show Weighted" mode, edit an item and save the item, the column headers get refreshed.  But then they stay that way until something happens that changes them back.  We'd like that change to occur whenever you click the "Show Weighted" button.  We'd appreciate any suggestions.
>> 
>> Thanks.
>> 
>> Jim
>> 
>> 
>> 
>> 
>> On Nov 2, 2010, at 4:16 PM, Jim Eng wrote:
>> 
>>> Hi,
>>> 
>>> Our work on GRBK-483 is almost complete (mostly David's work, actually).  I am trying to finish up one detail.  David has added code to provide new labels for the columns to show the values as a percentage of the semester total, but we are still having trouble getting the column header row to update.  Can you suggest how we might do that? 
>>> 
>>> Thanks.
>>> 
>>> Jim
>>> _______________________________________________
>>> gradebook2-dev mailing list
>>> gradebook2-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>>> 
>>> 
>> 
>> 
>> 
> 



More information about the gradebook2-dev mailing list