diff --git a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXDisplayGroup.java b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXDisplayGroup.java index 8f8c6a29185..ff400d67685 100644 --- a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXDisplayGroup.java +++ b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXDisplayGroup.java @@ -34,6 +34,14 @@ *
  • allows you to add qualifiers to the final query qualifier (as opposed to just min/equals/max with the keys)
  • *
  • clears out the sort ordering when the datasource changes. This is a cure fix to prevent errors when using switch components.
  • * + *

    Selections and usage with Datasource

    + * If you are using the display group with a datasource and changing the selection by {@link #setSelectedObjects(NSArray)} + * only matching objects in the displayed objects will be selected and the events displayGroupShouldChangeSelectionToIndexes, + * displayGroupDidChangeSelectedObjects and displayGroupDidChangeSelection will be triggered. + *

    Selections and usage without Datasource

    + * If you are using plain arrays to fill your display group and set a selection by {@link #setSelectedObjects(NSArray)} you won't + * get related events as with a datasource. Also the selection is not matched against the displayed objects but set directly. + * * @author ak * @param data type of the displaygroup's objects */