Namespace: Consultingwerk.SmartComponents.Interfaces
Interface 
ISmartDataBrowser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartComponents.Implementation.SmartDataBrowser, Consultingwerk.SmartComponents.Implementation.SmartDynamicBrowser, Consultingwerk.SmartComponents.Implementation.SmartDynamicUpdatableBrowser, Consultingwerk.SmartComponents.Implementation.SmartUpdatableBrowser

File:ISmartDataBrowser
Purpose:Interface to seperate calls from SmartDataAdpater to
SmartDataBrowser
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Nov 14 20:58:50 CET 2014
Notes:Preparation for providing alternative UI classes based
on Telerik RAD Controls



Top Method Summary
Options Name Purpose
+ ActivateCurrentRow () Activates the current grid row during Update/Delete/Copy in a Viewer
+ ResumeRowSynchronizationAfterReposition () Resume row syncronization
+ ScrollToCurrentRow (logical) Scrolls to the BindingSource's position
+ ScrollToCurrentRow (logical, logical) Scrolls to the BindingSource's position
+ ScrollToFirstRow () Scrolls the Grid to the First Row
+ ScrollToLastRow () Scrolls the Grid to the Last Row
+ SuspendRowSynchronizationForReposition () Suspends row syncronization
+ UpdateSortIndicator (character) Updates the Sort Indicators of the SmartDataBrowser columns


Method Detail
Top

PUBLIC ActivateCurrentRow ()

Purpose: Activates the current grid row during Update/Delete/Copy in a Viewer
Notes:

Top

PUBLIC ResumeRowSynchronizationAfterReposition ()

Purpose: Resume row syncronization
Notes: SuspendRowSynchronization and ResumeRowSynchronization methods can
be used to temporarily suspend UltraGrid from responding to data
source change notifications. When row syncrhonization is suspended,
the UltraGrid will still mark the rows dirty so it will re-create
the rows next time it gets painted.

Top

PUBLIC ScrollToCurrentRow (logical)

Purpose: Scrolls to the BindingSource's position
Notes:

Parameters:
plAllRegions LOGICAL
Logical value indicating if all RowScrollRegions will be positioned to the current row of just the first one.
Top

PUBLIC ScrollToCurrentRow (logical, logical)

Purpose: Scrolls to the BindingSource's position
Notes:

Parameters:
plAllRegions LOGICAL
Logical value indicating if all RowScrollRegions will be positioned to the current row of just the first one.
plEnforeScroll LOGICAL
Logical set to false to indicate that we should only scroll when the row would otherwise not be visible, FALSE is the ABL Browse widget's SET-REPOSITIONED-ROW CONDITIONAL behaviour
Top

PUBLIC ScrollToFirstRow ()

Purpose: Scrolls the Grid to the First Row
Notes:

Top

PUBLIC ScrollToLastRow ()

Purpose: Scrolls the Grid to the Last Row
Notes:

Top

PUBLIC SuspendRowSynchronizationForReposition ()

Purpose: Suspends row syncronization
Notes: SuspendRowSynchronization and ResumeRowSynchronization methods can
be used to temporarily suspend UltraGrid from responding to data
source change notifications. When row syncrhonization is suspended,
the UltraGrid will still mark the rows dirty so it will re-create
the rows next time it gets painted.

Top

PUBLIC UpdateSortIndicator (character)

Purpose: Updates the Sort Indicators of the SmartDataBrowser columns
Notes: Typically invoked from a SmartDataAdapter after setting the QuerySort
property. Does not call back into QuerySort

Parameters:
pcQuerySort CHARACTER
The QuerySort to visualize


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:33:19