Namespace: Consultingwerk.Windows.Util
Class 
UltraGridSelectedRowsHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

/*&GLOBAL-DEFINE NoUserLobStatistics NoUserLobStatistics



Top Method Summary
Options Name Purpose
CHARACTER CellsFindPredicate (handle, CellsCollection, logical) Builds the predicate that finds the record of a grid row by the primary unique key values in the cells of the row
CopySelectedRowsToProDataset (UltraGrid, character, handle, handle) Copies selected rows in the Ultragrid's first Band from a source ProDataset to the target ProDataset
LOGICAL CopySelectedRowsToProDatasetByKey (UltraGrid, character, handle, handle) Copies selected rows in the Ultragrid's first Band from a source ProDataset to the target ProDataset, locating the source records by the primary unique key values in the cells of the rows
CopySelectedRowsToTempTable (UltraGrid, handle, handle) Copies selected rows in the Ultragrid's first Band from a source Temp-Table to the target Temp-Table

Top Constructor Summary
Options Name Purpose
UltraGridSelectedRowsHelper () Constructor for the UltraGridSelectedRowsHelper class


Method Detail
Top

CHARACTER CellsFindPredicate (handle, CellsCollection, logical)

Purpose: Builds the predicate that finds the record of a grid row by the
primary unique key values in the cells of the row
Notes: SCL-6087. Returns "" when the table has no primary unique index or
a key field is not a column of the grid

Parameters:
phBuffer HANDLE
The buffer to build the predicate for
poCells Infragistics.Win.UltraWinGrid.CellsCollection
The cells of the grid row
plFieldNameColumns LOGICAL
Logical value indicating if columns named like the field (not only table:field) are accepted
Returns CHARACTER
The predicate (WHERE phrase) or ""
Top

CopySelectedRowsToProDataset (UltraGrid, character, handle, handle)

Purpose: Copies selected rows in the Ultragrid's first Band from a source
ProDataset to the target ProDataset
Notes:

Parameters:
poGrid Infragistics.Win.UltraWinGrid.UltraGrid
The UltraGrid that contains the selected rows
pcTables CHARACTER
The comma delimited list of Tables to process
phSourceDataset HANDLE
The Source ProDataset
phTargetDataset HANDLE
The Target ProDataset
Top

LOGICAL CopySelectedRowsToProDatasetByKey (UltraGrid, character, handle, handle)

Purpose: Copies selected rows in the Ultragrid's first Band from a source
ProDataset to the target ProDataset, locating the source records
by the primary unique key values in the cells of the rows
Notes: SCL-6087. Unlike CopySelectedRowsToProDataset the position of the
BindingSource is not changed, so no navigation (CurrentChanged,
refresh of child data sources) is raised - safe to use while a
server-side event is handled. The first table's key fields are
read from the cells named like the field (or table:field), the
other tables' from the cells named table:field. Returns FALSE
when a table has no primary unique index or a key field is not a
column of the grid; the target dataset may then contain a part of
the rows and should be discarded

Parameters:
poGrid Infragistics.Win.UltraWinGrid.UltraGrid
The UltraGrid that contains the selected rows
pcTables CHARACTER
The comma delimited list of Tables to process
phSourceDataset HANDLE
The Source ProDataset
phTargetDataset HANDLE
The Target ProDataset
Returns LOGICAL
Logical value indicating if the selected rows could be copied
Top

CopySelectedRowsToTempTable (UltraGrid, handle, handle)

Purpose: Copies selected rows in the Ultragrid's first Band from a source
Temp-Table to the target Temp-Table
Notes:

Parameters:
poGrid Infragistics.Win.UltraWinGrid.UltraGrid
The UltraGrid that contains the selected rows
phSourceTable HANDLE
The Source Temp-Table
phTargetTable HANDLE
The Target Temp-Table


Constructor Detail
Top

UltraGridSelectedRowsHelper ()

Purpose: Constructor for the UltraGridSelectedRowsHelper class
Notes: Disallow instance creation



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:20:44