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
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.
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
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>