Ignore:
Timestamp:
Nov 1, 2010, 6:11:23 PM (11 years ago)
Author:
j.a.m.wesbeek@…
Message:
  • made column widths changeable by adding:

columnWidths="[Name:200, Species: 150, MyColumnName: 300]"

where the key is the CamelCased? column name without spaces (and info)
resolves issue #152

Location:
trunk/grails-app/views/wizard/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_groups.gsp

    r959 r1040  
    2626                <div class="header">
    2727                        <div class="column">Template</div>
    28                         <div class="column">Subjects</div>
     28                        <div class="column" style="width:150px;" rel="resized">Subjects</div>
    2929                        <g:if test="${study.eventGroups}"><g:each var="eventGroup" in="${study.eventGroups}">
    3030                                <div class="column">
  • trunk/grails-app/views/wizard/pages/_subjects.gsp

    r998 r1040  
    5050                                <div class="header">
    5151                                  <div class="firstColumn"></div>
    52                                   <wizard:templateColumnHeaders class="column" entity="${subject}" />
     52                                  <wizard:templateColumnHeaders class="column" entity="${subject}" columnWidths="[Name:200, Species: 150]" />
    5353                                </div>
    5454                                </g:if>
Note: See TracChangeset for help on using the changeset viewer.