Creates a new instance of the trellis group strategy.
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
An object used to initialize TrellisGrouping.
|
Type Definitions
groupLayoutCallback(groupInfo){GC.Spread.Views.Plugins.TrellisGrouping~Layout}
This callback is displayed as part of the Requester class.
Parameters:
Name | Type | Description |
---|---|---|
groupInfo |
Object |
Specified group information. |
Returns: {GC.Spread.Views.Plugins.TrellisGrouping~Layout} layout - Specified group layout.
LayoutObject
Properties:
Name | Type | Description |
---|---|---|
units |
number | The group width is caculated by panelUnitWidth * units. |
direction |
string | Specifies how to arrange the sub-group of the group, including 'vertical' and 'horizontal'. |
Events
dragDropping
Drag drop event. This event occurs before the user drags or drops a trellis item.
Type:
- object
Properties:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sender |
object | Indicates the control the action is for. |
||||||||||||||||||
args |
object | Provides arguments that are useful for the event. Properties
|