基本自訂 > User Interface Customization > Presenting Information in the UI > Constructing and Rendering a Table Using the JSP Framework > Sample Code > Example — Table With DataSources Enabled
  
Example — Table With DataSources Enabled
This is an example of MVC table implementation that uses asynchronous datasource mode. The table is enabled with configurable views.
Location of the Example
To navigate to this example navigate to Customization > Component Catalog > Table > Table or Table - Async ( in the example section).
Select “Table” for table that uses default OOTB result processor.
Select “Table - Async” for table that uses a custom result processor.
Actions for this Example
sortByState
reloadTable
strikeThroughRows
clearStrikeThrough
CustEx_exportlisttofile_submenu
Action Models for this Example
mvc_tables_toolbar
Files Used in This Example
com\ptc\mvc\builders\carambola\table\MvcTableBuilder.java
com\ptc\mvc\builders\carambola\table\DataSourceASyncTableBuilder.java
com\ptc\mvc\builders\carambola\table\AbstractCarambolaTableConfigBuilder.java
WEB-INF\jsp\carambola\carambolaMVCExampleTable.jsp
* 
If the customization source code examples are not installed on your server, they are available for download from the following location: http://www.ptc.com/view?im_dbkey=156765
Sample Code