Menu

dynamic columns

Help
2005-12-08
2012-10-09
  • mightycoder

    mightycoder - 2005-12-08

    is it possible to create and show/hide columns dynammically?

    and is it it possible to add up/arrows to the table headers for sorting

     
    • Rick Justesen

      Rick Justesen - 2005-12-08

      This is how I have implemented dynamic columns using jstl-core-taglib

      <display:table name="${sessionScope.parties}" requestURI="${soa4jViewName}.soa" class="mars" pagesize="${preferences.contactGridSize}" sort="list" decorator="com.benlife.clientsplus.web.party.PartyTable" >
      <c:if test="${preferences.includeColumnName}">
      <display:column title="Name" property="fullName" sortable="true" headerClass="sortable" href="GetParty.soa?" paramId="findParty.id" paramProperty="id" />
      </c:if>

       

Log in to post a comment.