Method | Description | |
---|---|---|
AutoResizeColumnWidths ( ) : void |
Resizes all columns to their minimum width that still shows all the cells content.
|
|
BeginInit ( ) : void |
Signals the object that initialization is starting
|
|
BeginUpdate ( ) : void |
Prevents the Table from drawing until the EndUpdate method is called
|
|
CalculateAllRowHeights ( ) : void |
For all rows that have a wordwrap cell, calculate the rendered height.
|
|
CancelEditing ( ) : void |
Cancels editing the current Cell and ignores any changes
|
|
CellAt ( Point p ) : |
Returns the Cell at the specified client Point
|
|
CellAt ( int x, int y ) : |
Returns the Cell at the specified client coordinates
|
|
CellRect ( |
Returns a Rectangle that specifies the size and location of the specified cell in client coordinates
|
|
CellRect ( XPTable.Models.CellPos cellPos ) : |
Returns a Rectangle that specifies the size and location the cell at the specified cell position in client coordinates
|
|
CellRect ( int row, int column ) : |
Returns a Rectangle that specifies the size and location the cell at the specified row and column indexes in client coordinates
|
|
Clear ( ) : void |
Removes the ColumnModel and TableModel from the Table
|
|
ClearAllData ( ) : void |
Removes the TableModel from the Table but leaves the ColumnModel unaltered.
|
|
ClearAllRowControls ( ) : void |
Clears all the controls from the Controls collection except the scroll bars
|
|
ClientToDisplayRect ( Point p ) : Point |
Computes the location of the specified client point into coordinates relative to the display rectangle
|
|
ClientToDisplayRect ( int x, int y ) : Point |
Computes the location of the specified client point into coordinates relative to the display rectangle
|
|
ClientToDisplayRect ( |
Converts the location of the specified Rectangle into coordinates relative to the display rectangle
|
|
ClientXToDisplayRectX ( int x ) : int |
Computes the x-coord of the specified client point into an x-coord relative to the display rectangle
|
|
ColumnHeaderRect ( |
Returns the bounding rectangle of the specified column's header in client coordinates
|
|
ColumnHeaderRect ( int column ) : |
Returns the bounding rectangle of the specified column's header in client coordinates
|
|
ColumnIndexAt ( Point p ) : int |
Returns the index of the Column at the specified client point
|
|
ColumnIndexAt ( int x, int y ) : int |
Returns the index of the Column at the specified client coordinates
|
|
ColumnRect ( |
Returns the bounding rectangle of the specified column in client coordinates
|
|
ColumnRect ( int column ) : |
Returns the bounding rectangle of the column at the specified index in client coordinates
|
|
DisplayRectToClient ( Point p ) : Point |
Computes the location of the specified point relative to the display rectangle into client coordinates
|
|
DisplayRectToClient ( int x, int y ) : Point |
Computes the location of the specified point relative to the display rectangle point into client coordinates
|
|
DisplayRectToClient ( |
Converts the location of the specified Rectangle relative to the display rectangle into client coordinates
|
|
EditCell ( XPTable.Models.CellPos cellPos ) : void |
Starts editing the Cell at the specified CellPos
|
|
EditCell ( int row, int column ) : void |
Starts editing the Cell at the specified row and column indexes
|
|
EndInit ( ) : void |
Signals the object that initialization is complete
|
|
EndUpdate ( ) : void |
Resumes drawing of the Table after drawing is suspended by the BeginUpdate method
|
|
EnsureVisible ( XPTable.Models.CellPos cellPos ) : bool |
Ensures that the Cell at the specified CellPos is visible within the Table, scrolling the contents of the Table if necessary
|
|
EnsureVisible ( int row, int column ) : bool |
Ensures that the Cell at the specified row and column is visible within the Table, scrolling the contents of the Table if necessary
|
|
GetContainingCell ( |
Returns the cell that contains the given Control (in a ControlColumn). Returns null if the control is not in a valid cell.
|
|
HitTest ( Point p ) : TableRegion |
Returns a TableRegions value that represents the table region at the specified client point
|
|
HitTest ( int x, int y ) : TableRegion |
Returns a TableRegions value that represents the table region at the specified client coordinates
|
|
InvalidateCell ( |
Invalidates the specified Cell
|
|
InvalidateCell ( XPTable.Models.CellPos cellPos ) : void |
Invalidates the Cell located at the specified CellPos
|
|
InvalidateCell ( int row, int column ) : void |
Invalidates the Cell located at the specified row and column indicies
|
|
InvalidateRect ( |
Invalidates the given Rectangle
|
|
InvalidateRow ( XPTable.Models.CellPos cellPos ) : void |
Invalidates the Row located at the specified CellPos
|
|
InvalidateRow ( |
Invalidates the specified Row
|
|
InvalidateRow ( int row ) : void |
Invalidates the Row located at the specified row index
|
|
IsCellEditable ( XPTable.Models.CellPos cellpos ) : bool |
Returns whether the Cell at the specified CellPos is able to be edited by the user
|
|
IsCellEditable ( int row, int column ) : bool |
Returns whether the Cell at the specified row and column is able to be edited by the user
|
|
IsCellEnabled ( XPTable.Models.CellPos cellpos ) : bool |
Returns whether the Cell at the specified CellPos is able to respond to user interaction
|
|
IsCellEnabled ( int row, int column ) : bool |
Returns whether the Cell at the specified row and column is able to respond to user interaction
|
|
IsValidColumn ( int column ) : bool |
Returns whether a Column exists at the specified index in the Table's ColumnModel
|
|
OnHeaderFilterChanged ( EventArgs e ) : void |
Raises the HeaderFilterChanged event
|
|
ResetMouseEventArgs ( ) : void |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code
|
|
RowIndexAt ( Point p ) : int |
Returns the index of the Row at the specified client point
|
|
RowIndexAt ( int x, int y ) : int |
Returns the index of the Row at the specified client coordinates
|
|
RowRect ( Row row ) : Rectangle |
Returns the bounding rectangle of the specified row in client coordinates
|
|
RowRect ( int row ) : Rectangle |
Returns the bounding rectangle of the row at the specified index in client coordinates
|
|
RowYDifference ( int row1, int row2 ) : int |
Returns the difference in Y-coords between the tops of the two given rows. May return a negative.
|
|
Sort ( ) : void |
Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted
|
|
Sort ( bool stable ) : void |
Sorts the last sorted column opposite to its current sort order, or sorts the currently focused column in ascending order if no columns have been sorted
|
|
Sort ( int column ) : void |
Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted
|
|
Sort ( int column, SortOrder sortOrder ) : void |
Sorts the specified column in the specified sort direction
|
|
Sort ( int column, SortOrder sortOrder, bool stable ) : void |
Sorts the specified column in the specified sort direction
|
|
Sort ( int column, bool stable ) : void |
Sorts the specified column opposite to its current sort order, or in ascending order if the column is not sorted
|
|
StopEditing ( ) : void |
Stops editing the current Cell and commits any changes
|
|
Table ( ) : System |
Initializes a new instance of the Table class with default settings
|
|
UpdateScrollBars ( ) : void |
Updates the scrollbars to reflect any changes made to the Table
|
Method | Description | |
---|---|---|
CalcTableState ( int x, int y ) : void |
Calculates the state of the Table at the specified client coordinates
|
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the Control and optionally releases the managed resources
|
|
FindNextEditableCell ( XPTable.Models.CellPos start, bool wrap, bool forward, bool includeStart ) : XPTable.Models.CellPos |
Returns a CellPos that specifies the next Cell that able to be edited from the specified Cell
|
|
FindNextVisibleCell ( XPTable.Models.CellPos start, bool wrap, bool forward, bool includeStart, bool checkOtherCellsInRow, bool includeDisabledCells ) : XPTable.Models.CellPos |
Returns a CellPos that specifies the next Cell that is visible and enabled from the specified Cell
|
|
GetNewTopRowIndex ( int previousTopRowIndex, int howMany ) : int |
Returns the correct new value for the scrollbar.Value property. The ValueChanged event handler invalidates the control, because if the thumb track is clicked, then the Value property is changed without coming through this method.
|
|
HorizontalScroll ( int value ) : void |
Scrolls the contents of the Table horizontally to the specified value
|
|
IsInputKey ( Keys keyData ) : bool |
Determines whether the specified key is a regular input key or a special key that requires preprocessing
|
|
IsReservedKey ( Keys key ) : bool |
Determines whether the specified key is reserved for use by the Table
|
|
IsValidCell ( XPTable.Models.CellPos cellPos ) : bool |
Returns whether Cell at the specified cell position is not null
|
|
IsValidCell ( int row, int column ) : bool |
Returns whether Cell at the specified row and column indexes is not null
|
|
OnAfterFirstPaint ( |
Raises the AfterFirstPaint event
|
|
OnAfterPaintCell ( XPTable.Events.PaintCellEventArgs e ) : void |
Raises the AfterPaintCell event
|
|
OnAfterPaintHeader ( XPTable.Events.PaintHeaderEventArgs e ) : void |
Raises the AfterPaintHeader event
|
|
OnBeforePaintCell ( XPTable.Events.PaintCellEventArgs e ) : void |
Raises the BeforePaintCell event
|
|
OnBeforePaintHeader ( XPTable.Events.PaintHeaderEventArgs e ) : void |
Raises the BeforePaintHeader event
|
|
OnBeginEditing ( |
Raises the BeginEditing event
|
|
OnBeginSort ( XPTable.Events.ColumnEventArgs e ) : void |
Raises the BeginSort event
|
|
OnBindingContextChanged ( |
Fires the BindingContextChanged event. Called when something has changed
|
|
OnCellAdded ( XPTable.Events.RowEventArgs e ) : void |
Raises the CellAdded event
|
|
OnCellButtonClicked ( |
Raises the CellButtonClicked event
|
|
OnCellCheckChanged ( XPTable.Events.CellCheckBoxEventArgs e ) : void |
Raises the CellCheckChanged event
|
|
OnCellClick ( CellMouseEventArgs e ) : void |
Raises the CellClick event
|
|
OnCellDoubleClick ( CellMouseEventArgs e ) : void |
Raises the CellDoubleClick event
|
|
OnCellGotFocus ( CellFocusEventArgs e ) : void |
Raises the CellGotFocus event
|
|
OnCellKeyDown ( CellKeyEventArgs e ) : void |
Raises the CellKeyDown event
|
|
OnCellKeyUp ( CellKeyEventArgs e ) : void |
Raises the CellKeyUp event
|
|
OnCellLostFocus ( CellFocusEventArgs e ) : void |
Raises the CellLostFocus event
|
|
OnCellMouseDown ( CellMouseEventArgs e ) : void |
Raises the CellMouseDown event
|
|
OnCellMouseEnter ( CellMouseEventArgs e ) : void |
Raises the CellMouseEnter event
|
|
OnCellMouseHover ( CellMouseEventArgs e ) : void |
Raises the CellHover event
|
|
OnCellMouseLeave ( CellMouseEventArgs e ) : void |
Raises the CellMouseLeave event
|
|
OnCellMouseMove ( CellMouseEventArgs e ) : void |
Raises the CellMouseMove event
|
|
OnCellMouseUp ( CellMouseEventArgs e ) : void |
Raises the CellMouseUp event
|
|
OnCellPropertyChanged ( CellEventArgs e ) : void |
Raises the CellPropertyChanged event
|
|
OnCellRemoved ( RowEventArgs e ) : void |
Raises the CellRemoved event
|
|
OnCellToolTipPopup ( CellToolTipEventArgs e ) : void |
Raises the CellToolTipPopup event
|
|
OnColumnAdded ( ColumnModelEventArgs e ) : void |
Raises the ColumnAdded event
|
|
OnColumnAutoResize ( ColumnEventArgs e ) : void |
Raises the ColumnAutoResize event.
|
|
OnColumnModelChanged ( TableEventArgs e ) : void |
Raises the ColumnModelChanged event
|
|
OnColumnPropertyChanged ( ColumnEventArgs e ) : void |
Raises the ColumnPropertyChanged event
|
|
OnColumnRemoved ( ColumnModelEventArgs e ) : void |
Raises the ColumnRemoved event
|
|
OnDoubleClick ( EventArgs e ) : void |
Raises the DoubleClick event
|
|
OnEditingCancelled ( CellEditEventArgs e ) : void |
Raises the EditingCancelled event
|
|
OnEditingStopped ( CellEditEventArgs e ) : void |
Raises the EditingStopped event
|
|
OnEditingStopping ( CellEditEventArgs e ) : void |
Raises the EditingStopping event
|
|
OnEndSort ( ColumnEventArgs e ) : void |
Raises the EndSort event
|
|
OnGotFocus ( EventArgs e ) : void |
Raises the GotFocus event
|
|
OnHeaderClick ( HeaderMouseEventArgs e ) : void |
Raises the HeaderClick event
|
|
OnHeaderDoubleClick ( HeaderMouseEventArgs e ) : void |
Raises the HeaderDoubleClick event
|
|
OnHeaderFilterClick ( HeaderMouseEventArgs e ) : void |
Raises the HeaderFilterClick event
|
|
OnHeaderHeightChanged ( EventArgs e ) : void |
Raises the HeaderHeightChanged event
|
|
OnHeaderMouseDown ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseDown event
|
|
OnHeaderMouseEnter ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseEnter event
|
|
OnHeaderMouseHover ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseHover event
|
|
OnHeaderMouseLeave ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseLeave event
|
|
OnHeaderMouseMove ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseMove event
|
|
OnHeaderMouseUp ( HeaderMouseEventArgs e ) : void |
Raises the HeaderMouseUp event
|
|
OnHeaderToolTipPopup ( HeaderToolTipEventArgs e ) : void |
Raises the HeaderToolTipPopup event
|
|
OnHorizontalScroll ( object sender, ScrollEventArgs e ) : void |
Occurs when the Table's horizontal scrollbar is scrolled
|
|
OnKeyDown ( KeyEventArgs e ) : void |
Raises the KeyDown event
|
|
OnKeyPress ( KeyPressEventArgs e ) : void |
Adds Auto-Edit support for key press events on texteditors.
|
|
OnKeyUp ( KeyEventArgs e ) : void |
Raises the KeyUp event
|
|
OnLayout ( LayoutEventArgs levent ) : void |
Raises the Layout event
|
|
OnLostFocus ( EventArgs e ) : void |
Raises the LostFocus event
|
|
OnMouseClick ( MouseEventArgs e ) : void |
Raises the Click event
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Raises the MouseDown event
|
|
OnMouseHover ( EventArgs e ) : void |
Raises the MouseHover event
|
|
OnMouseLeave ( EventArgs e ) : void |
Raises the MouseLeave event
|
|
OnMouseMove ( MouseEventArgs e ) : void |
Raises the MouseMove event
|
|
OnMouseUp ( MouseEventArgs e ) : void |
Raises the MouseUp event
|
|
OnMouseWheel ( MouseEventArgs e ) : void |
Raises the MouseWheel event
|
|
OnPaint ( PaintEventArgs e ) : void |
Raises the Paint event
|
|
OnPaintBackground ( PaintEventArgs e ) : void |
Raises the PaintBackground event
|
|
OnPaintBorder ( PaintEventArgs e ) : void |
Paints the Table's border
|
|
OnPaintCell ( PaintEventArgs e, int row, int column, Rectangle cellRect ) : void |
Paints the Cell at the specified row and column indexes
|
|
OnPaintEmptyTableText ( PaintEventArgs e ) : void |
Paints the message that is displayed when the Table doen't contain any items
|
|
OnPaintGrid ( PaintEventArgs e ) : void |
Paints the Table's grid
|
|
OnPaintHeader ( PaintEventArgs e ) : void |
Paints the Table's Column headers
|
|
OnPaintRow ( PaintEventArgs e, int row, Rectangle rowRect ) : void |
Paints the Row at the specified index
|
|
OnPaintRows ( PaintEventArgs e ) : void |
Paints the Table's Rows
|
|
OnRowAdded ( TableModelEventArgs e ) : void |
Raises the RowAdded event
|
|
OnRowHeightChanged ( EventArgs e ) : void |
Raises the RowHeightChanged event
|
|
OnRowPropertyChanged ( RowEventArgs e ) : void |
Raises the RowPropertyChanged event
|
|
OnRowRemoved ( TableModelEventArgs e ) : void |
Raises the RowRemoved event
|
|
OnSelectionChanged ( SelectionEventArgs e ) : void |
Raises the SelectionChanged event
|
|
OnTableModelChanged ( TableEventArgs e ) : void |
Raises the TableModelChanged event
|
|
OnVerticalScroll ( object sender, ScrollEventArgs e ) : void |
Occurs when the Table's vertical scrollbar is scrolled
|
|
RaiseCellGotFocus ( CellPos cellPos ) : void |
Raises the GotFocus event for the Cell at the specified position
|
|
RaiseCellKeyDown ( CellPos cellPos, KeyEventArgs e ) : void |
Raises a KeyDown event for the Cell at the specified cell position
|
|
RaiseCellKeyUp ( CellPos cellPos, KeyEventArgs e ) : void |
Raises a KeyUp event for the Cell at the specified cell position
|
|
RaiseCellLostFocus ( CellPos cellPos ) : void |
Raises the LostFocus event for the Cell at the specified position
|
|
RaiseCellMouseDown ( CellPos cellPos, MouseEventArgs e ) : void |
Raises a MouseDown event for the Cell at the specified cell position
|
|
RaiseCellMouseEnter ( CellPos cellPos ) : void |
Raises a MouseEnter event for the Cell at the specified cell position
|
|
RaiseCellMouseLeave ( CellPos cellPos ) : void |
Raises a MouseLeave event for the Cell at the specified cell position
|
|
RaiseCellMouseMove ( CellPos cellPos, MouseEventArgs e ) : void |
Raises a MouseMove event for the Cell at the specified cell position
|
|
RaiseCellMouseUp ( CellPos cellPos, MouseEventArgs e ) : void |
Raises a MouseUp event for the Cell at the specified cell position
|
|
RaiseHeaderMouseDown ( int index, MouseEventArgs e ) : void |
Raises a MouseDown event for the Column header at the specified colunm index position
|
|
RaiseHeaderMouseEnter ( int index ) : void |
Raises a MouseEnter event for the Column header at the specified colunm index position
|
|
RaiseHeaderMouseLeave ( int index ) : void |
Raises a MouseLeave event for the Column header at the specified colunm index position
|
|
RaiseHeaderMouseMove ( int index, MouseEventArgs e ) : void |
Raises a MouseMove event for the Column header at the specified colunm index position
|
|
RaiseHeaderMouseUp ( int index, MouseEventArgs e ) : void |
Raises a MouseUp event for the Column header at the specified colunm index position
|
|
ResolveColspan ( CellPos cellPos ) : CellPos |
Returns the position of the actual cell that renders to the given cell pos. This looks at colspans and returns the cell that colspan overs the given cell (if any)
|
Method | Description | |
---|---|---|
AddItem ( int index ) : void |
Inserts the item at the given index from the data source.
|
|
CalculateColumns ( ) : void |
Creates a ColumnModel for the columns the data source provides and assigns it to the Table.
|
|
CreateNewBoolList ( int count ) : List |
Create a new List with the values initialised to true.
|
|
DeleteItem ( int index ) : void |
Removes the given item from the TableModel.
|
|
DragDropExternalType ( object sender, |
||
DragDropExternalTypeEffectSelector ( object sender, |
||
DragDropRowInsertedAt ( int destIndex ) : void | ||
DragDropRowMoved ( int srcIndex, int destIndex ) : void | ||
DrawReversibleLine ( int x ) : void |
Draws a reversible line at the specified screen x-coordinate that is the height of the PseudoClientRect
|
|
EnsureSafeVScrollValue ( int newValue ) : int |
Returns a safe value that can be used for the .Value property of the V scrollbar (that is within the min and max).
|
|
FirstPaint ( ) : void | ||
GetAutoColumnWidth ( int column ) : int |
Returns the minimum column width that will show all the columns contents. Returns 0 if the column width should not be changed, due to the resize mode.
|
|
GetAutoColumnWidthWithMode ( |
Returns the new column width if the columns resize mode allows it to be changed. Returns 0 if it should not be changed.
|
|
GetColumnLeft ( int column ) : int |
Returns the left position of the given column.
|
|
GetColumnWidth ( int column, |
Returns the actual width that this cell can render over (taking colspan into account). Normally its just the width of this column from the column model.
|
|
GetGridlineXMax ( PaintEventArgs e ) : int | ||
GetGridlineYMax ( PaintEventArgs e ) : int | ||
GetNewIndexFromPageDown ( ) : int | ||
GetNewIndexFromPageUp ( ) : int | ||
GetRenderedRowHeight ( |
Returns the actual height for this row when rendered. If there is no word wrapped cell here then just return the default row height.
|
|
GetRowFilter ( ) : IRowFilter | ||
GetRowFromDataSource ( int index ) : |
Returns a row (ready to be added into the TableModel) derived from the given index in the data source.
|
|
GetSecondaryComparers ( XPTable.Sorting.SortColumnCollection secondarySortOrders ) : XPTable.Sorting.IComparerCollection |
Gets a collection of comparers for the underlying sort order(s)
|
|
GetVisibleRowCount ( ) : int | ||
GetVisibleRowCount ( bool hScroll, bool vScroll ) : int | ||
GetWholeLineFlags ( int columns ) : List |
Returns a set of flags, one per column, that indicate whether the column can have its RHS vertical gridline drawn as an unbroken line.
|
|
IsCellVisible ( int row, int column, bool includeDisabledCells ) : bool | ||
PaintBrokenGridColumn ( PaintEventArgs e, Pen gridPen, int column, int x ) : void |
Draws a vertical grid line that is broken by colspans.
|
|
PaintGridAllRows ( PaintEventArgs e, Pen gridPen ) : void | ||
PaintGridColumns ( PaintEventArgs e, Pen gridPen ) : void | ||
PaintGridRowsColumnsOnlyParent ( PaintEventArgs e, Pen gridPen ) : void | ||
PaintGridRowsOnlyParent ( PaintEventArgs e, Pen gridPen ) : void | ||
ResetHotColumn ( ) : void |
Resets the current "hot" column
|
|
ResetLastMouseCell ( ) : void |
Resets the last known cell position that the mouse was over to empty
|
|
ResetToolTip ( ) : void |
|
|
RowIndexToClient ( int row ) : int |
Returns the y-coord of the top of the given row, in client coordinates.
|
|
RowY ( int row ) : int |
Returns the Y-coord of the top of the row at the specified index in client coordinates
|
|
SetEditingCell ( Cell cell, ICellEditor editor ) : void |
Records the Cell that is currently being edited and the ICellEditor used to edit the Cell
|
|
SetEditingCell ( CellPos cellPos, ICellEditor editor ) : void |
Records the Cell that is currently being edited and the ICellEditor used to edit the Cell
|
|
SetScrollValue ( ScrollBar scrollbar, int value ) : bool | ||
ShouldSerializeBackColor ( ) : bool |
Specifies whether the Table's BackColor property should be serialized at design time
|
|
ShouldSerializeGridColor ( ) : bool |
Specifies whether the Table's GridColor property should be serialized at design time
|
|
ShouldSerializeHeaderFont ( ) : bool |
Specifies whether the Table's HeaderFont property should be serialized at design time
|
|
ShouldSerializeSelectionBackColor ( ) : bool |
Specifies whether the Table's SelectionBackColor property should be serialized at design time
|
|
ShouldSerializeSelectionForeColor ( ) : bool |
Specifies whether the Table's SelectionForeColor property should be serialized at design time
|
|
ShouldSerializeSortedColumnBackColor ( ) : bool |
Specifies whether the Table's SortedColumnBackColor property should be serialized at design time
|
|
ShouldSerializeUnfocusedSelectionBackColor ( ) : bool |
Specifies whether the Table's UnfocusedSelectionBackColor property should be serialized at design time
|
|
ShouldSerializeUnfocusedSelectionForeColor ( ) : bool |
Specifies whether the Table's UnfocusedSelectionForeColor property should be serialized at design time
|
|
Sort ( int index, Column column, SortOrder sortOrder, bool stable ) : void |
Sorts the specified column in the specified sort direction
|
|
TryDataBinding ( ) : void |
Gets the CurrencyManager by the BindingContext, unwires the old CurrencyManager (if needed), and wires the new CurrencyManager. Then it calls calculateColumns and updateAllData.
|
|
UpdateAllData ( ) : void |
Clears and re-adds all data from the data source.
|
|
UpdateItem ( int index ) : void |
Refreshes the given item in the TableModel.
|
|
VScrollOffset ( ) : int |
Computes the height of the rows that are not visible (i.e. above the top row currently displayed).
|
|
VisibleRowCountExact ( ) : int |
Returns the number of visible rows, determined by iterating over all visible rows. Copes with word-wrapped rows.
|
|
cell_PropertyChanged ( object sender, CellEventArgs e ) : void |
Handler for a Cells PropertyChanged event
|
|
dataManager_ListChanged ( object sender, ListChangedEventArgs e ) : void |
Fired when any data is changed, removed or added to the data source.
|
|
dataManager_PositionChanged ( object sender, EventArgs e ) : void |
Called when the selected row in the data source changes. Ensures the Table keeps this row in view.
|
|
scrollBar_GotFocus ( object sender, EventArgs e ) : void |
Handler for a ScrollBars GotFocus event
|
|
vScrollBar_ValueChanged ( object sender, EventArgs e ) : void |
protected CalcTableState ( int x, int y ) : void | ||
x | int | The client x coordinate |
y | int | The client y coordinate |
return | void |
public CellAt ( int x, int y ) : |
||
x | int | The client x coordinate of the Cell |
y | int | The client y coordinate of the Cell |
return |
public CellRect ( |
||
cell | The cell whose bounding rectangle is to be retrieved | |
return |
public CellRect ( XPTable.Models.CellPos cellPos ) : |
||
cellPos | XPTable.Models.CellPos | The position of the cell |
return |
public CellRect ( int row, int column ) : |
||
row | int | The index of the row that contains the cell |
column | int | The index of the column that contains the cell |
return |
public ClientToDisplayRect ( Point p ) : Point | ||
p | Point | The client coordinate Point to convert |
return | Point |
public ClientToDisplayRect ( int x, int y ) : Point | ||
x | int | The client x coordinate to convert |
y | int | The client y coordinate to convert |
return | Point |
public ClientToDisplayRect ( |
||
rect | The Rectangle to convert whose location is in /// client coordinates | |
return |
public ColumnHeaderRect ( |
||
column | The column | |
return |
public ColumnHeaderRect ( int column ) : |
||
column | int | The index of the column |
return |
public ColumnIndexAt ( Point p ) : int | ||
p | Point | The point of interest |
return | int |
public ColumnIndexAt ( int x, int y ) : int | ||
x | int | The client x coordinate of the Column |
y | int | The client y coordinate of the Column |
return | int |
public ColumnRect ( |
||
column | The column | |
return |
public ColumnRect ( int column ) : |
||
column | int | The column |
return |
public DisplayRectToClient ( Point p ) : Point | ||
p | Point | The point relative to the display rectangle to convert |
return | Point |
public DisplayRectToClient ( int x, int y ) : Point | ||
x | int | The x coordinate to convert relative to the display rectangle |
y | int | The y coordinate to convert relative to the display rectangle |
return | Point |
public DisplayRectToClient ( |
||
rect | The Rectangle to convert whose location is relative to /// the display rectangle | |
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged /// resources; false to release only unmanaged resources |
return | void |
public EditCell ( XPTable.Models.CellPos cellPos ) : void | ||
cellPos | XPTable.Models.CellPos | A CellPos that specifies the Cell to be edited |
return | void |
public EditCell ( int row, int column ) : void | ||
row | int | The row index of the Cell to be edited |
column | int | The column index of the Cell to be edited |
return | void |
public EnsureVisible ( XPTable.Models.CellPos cellPos ) : bool | ||
cellPos | XPTable.Models.CellPos | A CellPos that contains the zero-based index /// of the row and column to scroll into view |
return | bool |
public EnsureVisible ( int row, int column ) : bool | ||
row | int | The zero-based index of the row to scroll into view |
column | int | The zero-based index of the column to scroll into view |
return | bool |
protected FindNextEditableCell ( XPTable.Models.CellPos start, bool wrap, bool forward, bool includeStart ) : XPTable.Models.CellPos | ||
start | XPTable.Models.CellPos | A CellPos that specifies the Cell to start /// searching from |
wrap | bool | Specifies whether to move to the start of the /// next Row when the end of the current Row is reached |
forward | bool | Specifies whether the search should travel /// in a forward direction (top to bottom, left to right) through the Cells |
includeStart | bool | Indicates whether the specified starting /// Cell is included in the search |
return | XPTable.Models.CellPos |
protected FindNextVisibleCell ( XPTable.Models.CellPos start, bool wrap, bool forward, bool includeStart, bool checkOtherCellsInRow, bool includeDisabledCells ) : XPTable.Models.CellPos | ||
start | XPTable.Models.CellPos | A CellPos that specifies the Cell to start /// searching from |
wrap | bool | Specifies whether to move to the start of the /// next Row when the end of the current Row is reached |
forward | bool | Specifies whether the search should travel /// in a forward direction (top to bottom, left to right) through the Cells |
includeStart | bool | Indicates whether the specified starting /// Cell is included in the search |
checkOtherCellsInRow | bool | Specifies whether all Cells in /// the Row should be included in the search |
includeDisabledCells | bool | Indicates whether disabled cells should be included in the search. |
return | XPTable.Models.CellPos |
public GetContainingCell ( |
||
control | The control that is part of a Cell. | |
return |
protected GetNewTopRowIndex ( int previousTopRowIndex, int howMany ) : int | ||
previousTopRowIndex | int | |
howMany | int | |
return | int |
public HitTest ( Point p ) : TableRegion | ||
p | Point | The point of interest |
return | TableRegion |
public HitTest ( int x, int y ) : TableRegion | ||
x | int | The client x coordinate |
y | int | The client y coordinate |
return | TableRegion |
protected HorizontalScroll ( int value ) : void | ||
value | int | The value to scroll to |
return | void |
public InvalidateCell ( |
||
cell | The Cell to be invalidated | |
return | void |
public InvalidateCell ( XPTable.Models.CellPos cellPos ) : void | ||
cellPos | XPTable.Models.CellPos | A CellPos that specifies the Cell to be invalidated |
return | void |
public InvalidateCell ( int row, int column ) : void | ||
row | int | The row index of the Cell to be invalidated |
column | int | The column index of the Cell to be invalidated |
return | void |
public InvalidateRect ( |
||
rect | ||
return | void |
public InvalidateRow ( XPTable.Models.CellPos cellPos ) : void | ||
cellPos | XPTable.Models.CellPos | A CellPos that specifies the Row to be invalidated |
return | void |
public InvalidateRow ( |
||
row | The Row to be invalidated | |
return | void |
public InvalidateRow ( int row ) : void | ||
row | int | The row index of the Row to be invalidated |
return | void |
public IsCellEditable ( XPTable.Models.CellPos cellpos ) : bool | ||
cellpos | XPTable.Models.CellPos | A CellPos that specifies the Cell to check |
return | bool |
public IsCellEditable ( int row, int column ) : bool | ||
row | int | The row index of the Cell to check |
column | int | The column index of the Cell to check |
return | bool |
public IsCellEnabled ( XPTable.Models.CellPos cellpos ) : bool | ||
cellpos | XPTable.Models.CellPos | A CellPos that specifies the Cell to check |
return | bool |
public IsCellEnabled ( int row, int column ) : bool | ||
row | int | The row index of the Cell to check |
column | int | The column index of the Cell to check |
return | bool |
protected IsInputKey ( Keys keyData ) : bool | ||
keyData | Keys | One of the Keys values |
return | bool |
protected IsReservedKey ( Keys key ) : bool | ||
key | Keys | One of the Keys values |
return | bool |
protected IsValidCell ( XPTable.Models.CellPos cellPos ) : bool | ||
cellPos | XPTable.Models.CellPos | The position of the cell |
return | bool |
protected IsValidCell ( int row, int column ) : bool | ||
row | int | The row index of the cell |
column | int | The column index of the cell |
return | bool |
public IsValidColumn ( int column ) : bool | ||
column | int | The index of the column to check |
return | bool |
protected OnAfterFirstPaint ( |
||
e | ||
return | void |
protected OnAfterPaintCell ( XPTable.Events.PaintCellEventArgs e ) : void | ||
e | XPTable.Events.PaintCellEventArgs | A PaintCellEventArgs that contains the event data |
return | void |
protected OnAfterPaintHeader ( XPTable.Events.PaintHeaderEventArgs e ) : void | ||
e | XPTable.Events.PaintHeaderEventArgs | A PaintHeaderEventArgs that contains the event data |
return | void |
protected OnBeforePaintCell ( XPTable.Events.PaintCellEventArgs e ) : void | ||
e | XPTable.Events.PaintCellEventArgs | A PaintCellEventArgs that contains the event data |
return | void |
protected OnBeforePaintHeader ( XPTable.Events.PaintHeaderEventArgs e ) : void | ||
e | XPTable.Events.PaintHeaderEventArgs | A PaintCellEventArgs that contains the event data |
return | void |
protected OnBeginEditing ( |
||
e | A CellEditEventArgs that contains the event data | |
return | void |
protected OnBeginSort ( XPTable.Events.ColumnEventArgs e ) : void | ||
e | XPTable.Events.ColumnEventArgs | A ColumnEventArgs that contains the event data |
return | void |
protected OnBindingContextChanged ( |
||
e | ||
return | void |
protected OnCellAdded ( XPTable.Events.RowEventArgs e ) : void | ||
e | XPTable.Events.RowEventArgs | A RowEventArgs that contains the event data |
return | void |
protected OnCellButtonClicked ( |
||
e | A CellButtonEventArgs that contains the event data | |
return | void |
protected OnCellCheckChanged ( XPTable.Events.CellCheckBoxEventArgs e ) : void | ||
e | XPTable.Events.CellCheckBoxEventArgs | A CellCheckChanged that contains the event data |
return | void |
protected OnCellClick ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellEventArgs that contains the event data |
return | void |
protected OnCellDoubleClick ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellEventArgs that contains the event data |
return | void |
protected OnCellGotFocus ( CellFocusEventArgs e ) : void | ||
e | CellFocusEventArgs | A CellFocusEventArgs that contains the event data |
return | void |
protected OnCellKeyDown ( CellKeyEventArgs e ) : void | ||
e | CellKeyEventArgs | A CellKeyEventArgs that contains the event data |
return | void |
protected OnCellKeyUp ( CellKeyEventArgs e ) : void | ||
e | CellKeyEventArgs | A CellKeyEventArgs that contains the event data |
return | void |
protected OnCellLostFocus ( CellFocusEventArgs e ) : void | ||
e | CellFocusEventArgs | A CellFocusEventArgs that contains the event data |
return | void |
protected OnCellMouseDown ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellMouseEventArgs that contains the event data |
return | void |
protected OnCellMouseEnter ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellMouseEventArgs that contains the event data |
return | void |
protected OnCellMouseHover ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellEventArgs that contains the event data |
return | void |
protected OnCellMouseLeave ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellMouseEventArgs that contains the event data |
return | void |
protected OnCellMouseMove ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellMouseEventArgs that contains the event data |
return | void |
protected OnCellMouseUp ( CellMouseEventArgs e ) : void | ||
e | CellMouseEventArgs | A CellMouseEventArgs that contains the event data |
return | void |
protected OnCellPropertyChanged ( CellEventArgs e ) : void | ||
e | CellEventArgs | A CellEventArgs that contains the event data |
return | void |
protected OnCellRemoved ( RowEventArgs e ) : void | ||
e | RowEventArgs | A RowEventArgs that contains the event data |
return | void |
protected OnCellToolTipPopup ( CellToolTipEventArgs e ) : void | ||
e | CellToolTipEventArgs | A CellToolTipEventArgs that contains the event data |
return | void |
protected OnColumnAdded ( ColumnModelEventArgs e ) : void | ||
e | ColumnModelEventArgs | A ColumnModelEventArgs that contains the event data |
return | void |
protected OnColumnAutoResize ( ColumnEventArgs e ) : void | ||
e | ColumnEventArgs | |
return | void |
protected OnColumnModelChanged ( TableEventArgs e ) : void | ||
e | TableEventArgs | An EventArgs that contains the event data |
return | void |
protected OnColumnPropertyChanged ( ColumnEventArgs e ) : void | ||
e | ColumnEventArgs | A ColumnEventArgs that contains the event data |
return | void |
protected OnColumnRemoved ( ColumnModelEventArgs e ) : void | ||
e | ColumnModelEventArgs | A ColumnModelEventArgs that contains the event data |
return | void |
protected OnDoubleClick ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnEditingCancelled ( CellEditEventArgs e ) : void | ||
e | CellEditEventArgs | A CellEditEventArgs that contains the event data |
return | void |
protected OnEditingStopped ( CellEditEventArgs e ) : void | ||
e | CellEditEventArgs | A CellEditEventArgs that contains the event data |
return | void |
protected OnEditingStopping ( CellEditEventArgs e ) : void | ||
e | CellEditEventArgs | A CellEditEventArgs that contains the event data |
return | void |
protected OnEndSort ( ColumnEventArgs e ) : void | ||
e | ColumnEventArgs | A ColumnEventArgs that contains the event data |
return | void |
protected OnGotFocus ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnHeaderClick ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderDoubleClick ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
public OnHeaderFilterChanged ( EventArgs e ) : void | ||
e | EventArgs | |
return | void |
protected OnHeaderFilterClick ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderHeightChanged ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnHeaderMouseDown ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderMouseEnter ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderMouseHover ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderMouseLeave ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderMouseMove ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderMouseUp ( HeaderMouseEventArgs e ) : void | ||
e | HeaderMouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected OnHeaderToolTipPopup ( HeaderToolTipEventArgs e ) : void | ||
e | HeaderToolTipEventArgs | A HeaderToolTipEventArgs that contains the event data |
return | void |
protected OnHorizontalScroll ( object sender, ScrollEventArgs e ) : void | ||
sender | object | The object that Raised the event |
e | ScrollEventArgs | A ScrollEventArgs that contains the event data |
return | void |
protected OnKeyDown ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | A KeyEventArgs that contains the event data |
return | void |
protected OnKeyPress ( KeyPressEventArgs e ) : void | ||
e | KeyPressEventArgs | KeyPressEventArgs that contains the event data |
return | void |
protected OnKeyUp ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | A KeyEventArgs that contains the event data |
return | void |
protected OnLayout ( LayoutEventArgs levent ) : void | ||
levent | LayoutEventArgs | A LayoutEventArgs that contains the event data |
return | void |
protected OnLostFocus ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnMouseClick ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | An EventArgs that contains the event data |
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected OnMouseHover ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnMouseLeave ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected OnMouseWheel ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintBackground ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintBorder ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintCell ( PaintEventArgs e, int row, int column, Rectangle cellRect ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
row | int | The index of the row that contains the cell to be painted |
column | int | The index of the column that contains the cell to be painted |
cellRect | Rectangle | The bounding Rectangle of the Cell |
return | void |
protected OnPaintEmptyTableText ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintGrid ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintHeader ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnPaintRow ( PaintEventArgs e, int row, Rectangle rowRect ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
row | int | The index of the Row to be painted |
rowRect | Rectangle | The bounding Rectangle of the Row to be painted |
return | void |
protected OnPaintRows ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A PaintEventArgs that contains the event data |
return | void |
protected OnRowAdded ( TableModelEventArgs e ) : void | ||
e | TableModelEventArgs | A TableModelEventArgs that contains the event data |
return | void |
protected OnRowHeightChanged ( EventArgs e ) : void | ||
e | EventArgs | An EventArgs that contains the event data |
return | void |
protected OnRowPropertyChanged ( RowEventArgs e ) : void | ||
e | RowEventArgs | A RowEventArgs that contains the event data |
return | void |
protected OnRowRemoved ( TableModelEventArgs e ) : void | ||
e | TableModelEventArgs | A TableModelEventArgs that contains the event data |
return | void |
protected OnSelectionChanged ( SelectionEventArgs e ) : void | ||
e | SelectionEventArgs | A TableModelEventArgs that contains the event data |
return | void |
protected OnTableModelChanged ( TableEventArgs e ) : void | ||
e | TableEventArgs | An EventArgs that contains the event data |
return | void |
protected OnVerticalScroll ( object sender, ScrollEventArgs e ) : void | ||
sender | object | The object that Raised the event |
e | ScrollEventArgs | A ScrollEventArgs that contains the event data |
return | void |
protected RaiseCellGotFocus ( CellPos cellPos ) : void | ||
cellPos | CellPos | The position of the Cell that gained focus |
return | void |
protected RaiseCellKeyDown ( CellPos cellPos, KeyEventArgs e ) : void | ||
cellPos | CellPos | The position of the Cell |
e | KeyEventArgs | A KeyEventArgs that contains the event data |
return | void |
protected RaiseCellKeyUp ( CellPos cellPos, KeyEventArgs e ) : void | ||
cellPos | CellPos | The position of the Cell |
e | KeyEventArgs | A KeyEventArgs that contains the event data |
return | void |
protected RaiseCellLostFocus ( CellPos cellPos ) : void | ||
cellPos | CellPos | The position of the Cell that lost focus |
return | void |
protected RaiseCellMouseDown ( CellPos cellPos, MouseEventArgs e ) : void | ||
cellPos | CellPos | The position of the Cell |
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected RaiseCellMouseEnter ( CellPos cellPos ) : void | ||
cellPos | CellPos | The position of the Cell |
return | void |
protected RaiseCellMouseLeave ( CellPos cellPos ) : void | ||
cellPos | CellPos | The position of the Cell |
return | void |
protected RaiseCellMouseMove ( CellPos cellPos, MouseEventArgs e ) : void | ||
cellPos | CellPos | The position of the Cell |
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected RaiseCellMouseUp ( CellPos cellPos, MouseEventArgs e ) : void | ||
cellPos | CellPos | The position of the Cell |
e | MouseEventArgs | A MouseEventArgs that contains the event data |
return | void |
protected RaiseHeaderMouseDown ( int index, MouseEventArgs e ) : void | ||
index | int | The index of the column to recieve the event |
e | MouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected RaiseHeaderMouseEnter ( int index ) : void | ||
index | int | The index of the column to recieve the event |
return | void |
protected RaiseHeaderMouseLeave ( int index ) : void | ||
index | int | The index of the column to recieve the event |
return | void |
protected RaiseHeaderMouseMove ( int index, MouseEventArgs e ) : void | ||
index | int | The index of the column to recieve the event |
e | MouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected RaiseHeaderMouseUp ( int index, MouseEventArgs e ) : void | ||
index | int | The index of the column to recieve the event |
e | MouseEventArgs | A HeaderMouseEventArgs that contains the event data |
return | void |
protected ResolveColspan ( CellPos cellPos ) : CellPos | ||
cellPos | CellPos | |
return | CellPos |
public RowIndexAt ( Point p ) : int | ||
p | Point | The point of interest |
return | int |
public RowIndexAt ( int x, int y ) : int | ||
x | int | The client x coordinate of the Row |
y | int | The client y coordinate of the Row |
return | int |
public RowRect ( int row ) : Rectangle | ||
row | int | The index of the row |
return | Rectangle |
public RowYDifference ( int row1, int row2 ) : int | ||
row1 | int | Index of first row |
row2 | int | Index of second row |
return | int |
public Sort ( bool stable ) : void | ||
stable | bool | Specifies whether a stable sorting method /// should be used to sort the column |
return | void |
public Sort ( int column ) : void | ||
column | int | The index of the column to sort |
return | void |
public Sort ( int column, SortOrder sortOrder ) : void | ||
column | int | The index of the column to sort |
sortOrder | SortOrder | The direction the column is to be sorted |
return | void |
public Sort ( int column, SortOrder sortOrder, bool stable ) : void | ||
column | int | The index of the column to sort |
sortOrder | SortOrder | The direction the column is to be sorted |
stable | bool | Specifies whether a stable sorting method /// should be used to sort the column |
return | void |
public Sort ( int column, bool stable ) : void | ||
column | int | The index of the column to sort |
stable | bool | Specifies whether a stable sorting method /// should be used to sort the column |
return | void |