⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 autogeneratecolumns.jsp

📁 j2ee开发优秀的表格控件
💻 JSP
字号:
<%@ taglib uri="/tld/extremecomponents" prefix="ec" %><%@ taglib uri="/tld/c" prefix="c" %><%@ taglib uri="/tld/extremesite" prefix="extremesite" %><html><head>	<title>eXtremeComponents</title></head><body>	<h3>AutoGenerateColumns</h3>	<p>		The auto-generation of columns has been made very easy. All you have to do is implement		the AutoGenerateColumns interface and reference it in the autoGenerateColumns attribute on the ColumnsTag.	</p>		<br/>	<ec:table 		items="presidents"		action="${pageContext.request.contextPath}/autoGenerateColumns.run" 		title="Presidents"		>		<ec:exportXls             fileName="output.xls"             tooltip="Export Excel"            />		<ec:row>			<ec:columns autoGenerateColumns="org.extremesite.controller.AutoGenerateColumnsImpl"/>			<ec:column property="career"/>		</ec:row>	</ec:table>	<br/>				<p>		Below is the code that generates the above display.		</p>		<pre>&lt;ec:table     items="presidents"     action="${pageContext.request.contextPath}/autoGenerateColumns.run"     title="Presidents"	&gt;    &lt;ec:export        view="xls"        fileName="output.xls"        tooltip="Export Excel"/&gt;    &lt;ec:row&gt;          	    <b>&lt;ec:columns autoGenerateColumns="org.extremesite.controller.AutoGenerateColumnsImpl"/&gt;</b>	    &lt;ec:column property="career"/&gt;    &lt;/ec:row&gt;    &lt;/ec:table&gt;</pre>			</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -