FlexGridDelegate Protocol Reference
Conforms to | XuniViewDelegate |
---|---|
Declared in | FlexGrid.h |
– autoGeneratingColumn:withPropertyInfo:column:
Occurs when auto generating a column
- (BOOL)autoGeneratingColumn:(FlexGrid *_Nonnull)sender withPropertyInfo:(XuniPropertyInfo *_Nonnull)propertyInfo column:(GridColumn *_Nonnull)column
Parameters
sender |
the sender FlexGrid object. |
---|---|
propertyInfo |
the specified property. |
column |
the specified column. |
Return Value
a boolean value that determines the cancelling of the column generation
Discussion
Occurs when auto generating a column
Declared In
FlexGrid.h
– resizedColumn:column:
Occurs after resizing a column
- (void)resizedColumn:(FlexGrid *_Nonnull)sender column:(GridColumn *_Nonnull)column
Parameters
sender |
the sender FlexGrid object. |
---|---|
column |
the specified column. |
Return Value
a boolean value that determines the cancelling of the column generation
Discussion
Occurs after resizing a column
Declared In
FlexGrid.h
– formatItem:panel:forRange:inContext:
Occurs when an element representing a cell has been created.
- (bool)formatItem:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range inContext:(CGContextRef _Nonnull)context
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
context |
graphics context to perform painting. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when an element representing a cell has been created.
Declared In
FlexGrid.h
– processItemOverlay:panel:forRange:inContext:
Occurs when cell overlay must be processed
- (bool)processItemOverlay:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range inContext:(CGContextRef _Nonnull)context
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
context |
graphics context to perform painting. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when cell overlay must be processed
Declared In
FlexGrid.h
– cellTapped:panel:forRange:
Occurs when FlexGrid cell being tapped
- (bool)cellTapped:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nullable)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when FlexGrid cell being tapped
Declared In
FlexGrid.h
– cellDoubleTapped:panel:forRange:
Occurs when FlexGrid cell being double tapped
- (bool)cellDoubleTapped:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nullable)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when FlexGrid cell being double tapped
Declared In
FlexGrid.h
– beginningEdit:panel:forRange:
Occurs before a cell enters edit mode.
- (bool)beginningEdit:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs before a cell enters edit mode.
Declared In
FlexGrid.h
– cellEditEnding:panel:forRange:cancel:
Occurs when a cell edit is ending.
- (bool)cellEditEnding:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range cancel:(BOOL)cancel
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
cancel |
is the event processing cancelled on previous step |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when a cell edit is ending.
Declared In
FlexGrid.h
– cellEditEnded:panel:forRange:
Occurs when a cell has been commmitted or canceled.
- (void)cellEditEnded:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Discussion
Occurs when a cell has been commmitted or canceled.
Declared In
FlexGrid.h
– prepareCellForEdit:panel:forRange:
Occurs when an editor cell is created and before it becomes active.
- (bool)prepareCellForEdit:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when an editor cell is created and before it becomes active.
Declared In
FlexGrid.h
– itemsSourceChanged:
Occurs after the grid has been bound to a new items source.
- (void)itemsSourceChanged:(FlexGrid *_Nonnull)sender
Parameters
sender |
the sender object. |
---|
Discussion
Occurs after the grid has been bound to a new items source.
Declared In
FlexGrid.h
– loadingRows:
Occurs before the grid rows are bound to items in the data source.
- (bool)loadingRows:(FlexGrid *_Nonnull)sender
Parameters
sender |
the sender object. |
---|
Discussion
Occurs before the grid rows are bound to items in the data source.
Declared In
FlexGrid.h
– loadedRows:
Occurs after the grid rows have been bound to items in the data source.
- (void)loadedRows:(FlexGrid *_Nonnull)sender
Parameters
sender |
the sender object. |
---|
Discussion
Occurs after the grid rows have been bound to items in the data source.
Declared In
FlexGrid.h
– groupCollapsedChanging:panel:forRange:
Occurs when a group is about to be expanded or collapsed.
- (bool)groupCollapsedChanging:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs when a group is about to be expanded or collapsed.
Declared In
FlexGrid.h
– groupCollapsedChanged:panel:forRange:
Occurs after a group has been expanded or collapsed.
- (void)groupCollapsedChanged:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Discussion
Occurs after a group has been expanded or collapsed.
Declared In
FlexGrid.h
– scrollPositionChanged:
Occurs after the control has scrolled.
- (void)scrollPositionChanged:(FlexGrid *_Nonnull)sender
Parameters
sender |
the sender object. |
---|
Discussion
Occurs after the control has scrolled.
Declared In
FlexGrid.h
– selectionChanging:panel:forRange:
Occurs before selection changes.
- (bool)selectionChanging:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nullable)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs before selection changes.
Declared In
FlexGrid.h
– selectionChanged:panel:forRange:
Occurs after selection changes.
- (void)selectionChanged:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nullable)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Discussion
Occurs after selection changes.
Declared In
FlexGrid.h
– sortingColumn:panel:forRange:
Occurs before the user applies a sort by tapping a column header.
- (bool)sortingColumn:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Return Value
true to cancel further processing, false to proceed by default
Discussion
Occurs before the user applies a sort by tapping a column header.
Declared In
FlexGrid.h
– sortedColumn:panel:forRange:
Occurs after the user applies a sort by tapping a column header.
- (void)sortedColumn:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nonnull)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Discussion
Occurs after the user applies a sort by tapping a column header.
Declared In
FlexGrid.h
– cellLongPressed:panel:forRange:
Occurs after the user performs a long press gesture
- (void)cellLongPressed:(FlexGrid *_Nonnull)sender panel:(GridPanel *_Nonnull)panel forRange:(GridCellRange *_Nullable)range
Parameters
sender |
the FlexGrid sender object. |
---|---|
panel |
the FlexGridPanel event appears on. |
range |
the specified cell range. |
Discussion
Occurs after the user performs a long press gesture
Declared In
FlexGrid.h