Task 6: Sort the data
2
3 In the layout editor, select the table by selecting the Table tab in the lower left corner, as shown in Figure 1-18. This tab appears when you hover the mouse pointer over the lower left corner of the table.Figure 1-18 Selecting the tableFigure 1-20 shows the sort definition.Figure 1-20 Sort definition in New Sort Key
6 Figure 1-21 Data sorted by customer name
2 In the Sort page, shown in Figure 1-22, select the sort key, then choose Edit.Figure 1-22 Sort key displayed on the Sort pageThis expression uses the JavaScript toUpperCase( ) function to convert all the customer name values to uppercase before sorting. JavaScript function names are case-sensitive, so you must type toUpperCase( ) exactly as shown. References to column names are also case-sensitive. In this expression, row["CUSTOMERNAME"] is the correct name to use. If you type row["customername"], for example, BIRT Report Designer displays an error when you run the report. You can verify the capitalization of a column name by looking at the name that is displayed in Data Explorer.
(c) Copyright Actuate Corporation 2013 |