Release 10.1A: OpenEdge Development:
Progress Dynamics Administration

> ## Configuring the node-batching feature

> You can configure the number of nodes to batch for a dynamic TreeView using the `RowsToBatch` attribute at the `DynTree` class level or on each dynamic TreeView instance. Setting the `RowsToBatch` attribute to `0` (zero) at the `DynTree` class level turns off node batching for all dynamic TreeView objects, and at the instance level turns off node batching for the given instance. This forces all nodes to be read at one time.

> Note: When migrating from a Progress Dynamics version earlier than Version 2.1A, Dynamics automatically enables the node-batching feature for all dynamic TreeView objects.

> You can configure node batching individually for each TreeView instance by changing the `RowsToBatch` attribute using the Dynamic TreeView Builder tool.

> | To change RowsToBatch for a dynamic TreeView instance:

> 1. Choose Build Dynamic TreeView Builder from the AppBuilder or Development tool to open the Dynamic TreeView Builder, and choose a TreeView object using the Object filename Lookup button, opening the object as shown:

> 2. Choose the container properties toolbar button to open the dynamic property sheet (Dynamic Properties dialog box), as shown:

> 3. Scroll to the RowsToBatch attribute and set its value as you require.

> Note: If you use node batching and also have the AutoSort attribute set to YES for the TreeView object (intending to sort the nodes), you must ensure that your data source (SDO) is sorting on the same fields specified as the fields to be displayed as the node label. This is required because when you use node batching, Dynamics ignores the `AutoSort` setting in order to ensure that ...More is always positioned as the last node in the TreeView. Otherwise, if the batched data does not come properly sorted from your data source, it will not be sorted in the TreeView. If you later turn off node batching (set RowsToBatch to 0 (zero)), the TreeView again functions according to the `AutoSort` setting.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095