日期:2014-05-17  浏览次数:20663 次

extreme Table不能生成checkbox呢
extreme Table怎么不能生成checkbox呢?使用alias=“checkbox”也不行,谁知道,急求!
checkbox extreme?Table

------解决方案--------------------

<form id="presForm" action="<c:url value="selectedPresidentsListedController.run"/>" method="post">

 Enter your name: 
 <input 
  type="text" 
  name="userName" 
  style="font-family:verdana,arial,helvetica,sans-serif;font-size:11px;"
  value="<c:out value="${param.userName}"/>"
  /> 

  <ec:table 
    items="presidents"
    action="${pageContext.request.contextPath}/selectedPresidentsController.run"  
    view="compact"
    imagePath="${pageContext.request.contextPath}/images/table/compact/*.gif"
    rowsDisplayed="8"
    autoIncludeParameters="false"
    form="presForm"
    >
    <ec:exportPdf 
        fileName="output.pdf" 
        tooltip="Export PDF" 
        headerColor="black" 
        headerBackgroundColor="#b6c2da" 
        headerTitle="Presidents"
        />
    <ec:row>
      <ec:column 
          alias="checkbox"
          title=" " 
          width="5px" 
          filterable="false" 
          sortable="false" 
          viewsAllowed="compact"
          cell="selectedPresident"
          />
      <ec:column property="fullName" title="Name"/>
      <ec:column property="nickName" />
      <ec:column property="term" />
    </ec:row>
  </ec:table>
 
  <input
      type="button"
      name="sel"
      class="button"
      value="List Selected Presidents"
      onclick="document.forms.presForm.submit();"
      />
 
    <script type="text/javascript"