Version 5.1.0.2320

August 4, 2010

This version uses SpreadsheetGear 2010 (6.0.3.136). which was upgraded from SpreadsheetGear 2009 (5.1.1.112), and NetAdvantage 10.1.20101.1007.

SpreadsheetGear 2010

SpreadsheetGear’s WorkbookView spreadsheet control includes several new capabilities that are now supported within Dodeca:

Dodeca supports auto-filtering for Excel and SQL Excel views. Refer to the section on AutoFiltering below for more details.

There are few SpreadsheetGear limitations that should be taken into account when designing a view:

_This means that when a view is configured to support commentary and the comments are displayed as Excel comments, the Excel comments are not retained when the view is opened in Excel 2007 or saved as an .xlsx file. The format used to save a view to Excel is the same format as the view’s Excel template, so using an Excel 2003 file as the template is recommended when the view configuration is as described. _

AutoFiltering

Excel and SQL Excel views now support auto-filtering. The auto-filtering functionality can be made available to users by 1) including the auto-filter tool in a view’s toolbar, 2) enabling auto-filtering in the view’s Excel template, or 3) for a SQL Excel view, by configuring the view to automatically enable auto-filtering for a data table range. (A data table range represents the results of a given relational query.)

Three auto-filtering related tools are supported, including: 1) The Auto-Filter tool, which enables auto-filtering, 2) The Clear Filter tool, which clears existing filters, and 3) The Reapply Filter tool, which allows the user to reapply the filters after data is edited. The functionality is almost identical to the auto-filtering functionality in Excel.

image

When one or more filters are defined, the Clear Filter tool is used to clear the existing filters.

image

The following limitations apply:

How to add the auto-filter tools to a toolbars configuration

To add the auto-filter tools to an existing toolbars configuration, perform the following steps:

  1. Open the Toolbars Configuration Metadata Editor from the Admin menu.
  2. Open the Toolbars Designer.
  3. Open the Import Standard Tools and Toolbar Wizard.
  4. On the Select Toolbars tab, check AutoFilter. The AutoFilter toolbar contains the three auto-filter related tools.

    image
  5. Click Next on the Select Popup Menu Tools tab.
  6. The auto-filter tools are automatically checked on the Select Tools tab. If you don’t intend for a user to enable auto-filtering using the auto-filter tool, uncheck the AutoFilterRange tool. Click Finish.

    image
  7. Close the Toolbars Designer dialog.
  8. The AutoFilter toolbar will be positioned at the bottom.

    image
  9. Drag the AutoFilter toolbar to the desired location.

    image
  10. Commit the changes.

How to enable auto-filtering in a view’s Excel template

You can use the Excel auto-filter tool to enable auto-filtering for a range within the view’s Excel template. It is important to ensure that any columns that are to be hidden are included in the auto-filter range. This is especially important for a SQL Excel view that allows users to write-back changes to the database. If the hidden column(s) contain the primary key and the columns are not included in the auto-filter range, unintended changes to the data can result from the user sorting the rows and then saving.

image

How to automatically enable auto-filtering in a SQL Excel view

In a SQL Excel view, a data table range can be configured to automatically enable auto-filtering for the data range or, if defined, for the data block.

An explanation of data ranges and data blocks is included in the Dodeca Administrator’s Guide, Using Relational Data with SQL Excel and Essbase Excel Views section.

image

Excel, SQL Excel, and Essbase Excel Views

Essbase Views

Relational Functionality

The ConnectString property was used in pre-5.0 Dodeca versions to specify connection information using Hibernate syntax. The SQLConnectionID property was introduced in Dodeca 5.0 to define a reusable object that specifies the connection information. When the SQLConnectionID property is specified, the Dodeca server connects directly to the relational data source using JDBC instead of using the Hibernate layer to manage the connection.

An issue was reported in version 5.0.0.2260 that occurred when the ConnectString property was not empty and when doing repetitive operations. The issue caused the JDBC operation to hang which, in turn, caused the client to possibly hang. This appears to be an issue within the Hibernate layer, and can be avoided by using the SQLConnectionID. (#841)

View Metadata Editor

Workbook Scripting

Dodeca Framework