Features and functions such as column renaming, sortability, column ordering and sizing etc. in an <ace:dataTable> can be dynamically specified through the <ace:tableConfigPanel> component. In this example, click on the “gear” icon in the header of the rightmost column to access the configuration panel. Change the column names, visibility, ordering parameters etc. to the desired states. Click on the “arrow” in the configuration panel header to save the new settings or the “x” to ignore and return to prior settings. View the updates in the table below.
This demo also shows how to save the different settings specified through the configuration panel. Modify the settings as you wish and then click on the 'Save Settings' button. Then, click on the 'Restore Default Settings' button to view the table in its original state, and then click on the 'Restore Saved Settings' button to view the table as you had configured it.