ExtremeTable的基本使用

<form name="listAllProxyHostForm" action="listAllProxyHost.html"  id="listAllProxyHostForm" method="post">
<br/>
<@ec.table items="proxyList"
showPagination="true"
var="proxy"
form="listAllProxyHostForm"
action="listAllProxyHost.html"
autoIncludeParameters="false"
    view="goodhope" >
<@ec.row onclick="onClickRow(event)" styleClass="even">
<@ec.column property="id" title="代理ID" sortable="true" filterable="true">
</@ec.column>
<@ec.column property="proxyIp" title="代理IP" sortable="true" filterable="true">
</@ec.column>
<@ec.column property="proxyPort" title="代理端口" sortable="true" filterable="true">
</@ec.column>
<@ec.column property="status" title="服务器状态" sortable="true" filterable="true">
<#if proxy.status==1>开启<#else>关闭</#if>
</@ec.column>
<@ec.column property="switch" title="修改状态" sortable="false" filterable="false">
<input type="button" id="proxy${proxy.id?c}" value="切换状态" onClick="switchProxySatus(${proxy.id?c})"/>
<input type="button" id="deleteproxy${proxy.id?c}" value="删除代理" onClick="deleteProxy(${proxy.id?c})"/>
</@ec.column>
</@ec.row>
</@ec.table>
</form>

你可能感兴趣的:(html)