Portlet Factory, Version 6.1.2
Data Column Modifier builder
Use the Data Column Modifier builder to modify a table column created by the Data Page builder.
You can control the tabular display of one of the container elements in the data being managed by a Data Page builder call. When you choose one of the available elements, the builder editor displays a table that lists all the child elements in the selected element. This table contains inputs allowing you to perform the following operations on each column in the table:
- Change the labels that are displayed.
- Hide columns that do not need to be displayed.
- Provide sorting for the entries of the columns in a table.
- Add the following to a table:
- A control, for example, a button, for launching an action
- A counter column (the number of the row from the data structure is displayed as the value for this column)
- A delete column (one that provides a control for deleting the row from the data structure)
- An edit column (for editing records in a table)
- Change the alignment of a columns.
- Enable paging control for browsing through a large result data set.
Key inputs
In most common applications of this builder, these are the inputs you need:
- Container Field identifies the element that is to be controlled.
- Column Table provides detailed control of the column characteristics when you enable the Manage Columns input.
- Enable Paging activates paging control.
- Add and Delete Row Operations inputs specify the controls and methods for column management.
Key objects this builder creates
Use the Design panel in the model editor to see the effects of the builder inputs on the page display.
Samples
A sample model shows the use of this builder./models/samples/gettingstarted/Display_Paged_Data.model
More about this builder
The following list summarizes the tasks for which you can use the Data Column Modifier builder.
- Add a column
- Add controls to the table such as a button to launch an action, supplying data from the row as arguments to the action. You can also add a column that provides a control for deleting the row from the data structure on which the associated Data Page builder call operates.
- Add a delete column
- Provide links, buttons, or check boxes to enable the deleting of rows. You can also optionally invoke your own Java methods to make the appropriate database calls to perform a delete.
- Rearrange columns
- Change the column order by dragging and dropping the element rows in the child element table.
- Set column header labels
- Enter the header text for the column directly into the child element table.
- Configure columns to be sortable
- Enable the displayed table to be sorted based on the text or numerical values in the column.
- Control display of columns
- You can set the width and text alignment for the displayed columns and hide individual columns.
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Data Column Modifier builder inputs
This topic describes the inputs for the Data Column Modifier builder.
- Data Page builder
Use the Data Page builder to create forms that either display data, prompt the user to enter data, or are a combination of the two operations.
- Date / Time Formatter builder
Use the Date / Time Formatter builder to control the display of fields in a form that contain a date, time, or date-time value.
- Paging Buttons builder
The Paging Buttons builder adds a set of buttons to a page in the model for navigating through a data set specified in a Paging Assistant builder call.
- Paging Links builder
The Paging Links builder adds a set of links to a page in the model for navigating through a data set specified in a Paging Assistant builder call.
- Overview: creating forms
You can create forms in IBM® WebSphere Portlet Factory applications in several ways.
- Page Automation HTML templates
The Data Page builder, along with the other builders that use Data Page, can automatically generate HTML for displayed pages. You can control the look and feel of the generated HTML by using Page Automation HTML Templates.
- Adding Paging to a Model
You can use the Data Column Modifier builder to add paging to the data displays that you create.
- Adding Columns to a Table
You can use the Data Column modifier builder to add columns to a table in your model.
- Creating a Table That Supports Adding Rows
You can create a table that uses a button to add a row.
- Creating a Table That Incorporates Delete Rows
You can create a table that uses buttons, links or check boxes to delete rows.
- Hiding a Column
You can use the Data Column Modifier builder to hide a column of a table that is in your model.
Library | Support |