Skip to main content
Version: 2025

SalTableWindowBase

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

Table Window Implementation

public class SalTableWindowBase : UserControl

Properties

Instance memberActiveColumn

SalTableColumn: Returns the currently focused column.

Instance memberAllowSorting

Boolean: Enables/Disables automatic sorting on table columns. (Default: False)

Instance memberAutoScroll

Boolean: (Default: False)

Instance memberAutoScrollMargin

Size:

Instance memberAutoScrollMinSize

Size:

Instance memberAutoSize

Boolean: (Default: False)

Instance memberAutoSizeMode

AutoSizeMode:

Instance memberBackgroundImage

Image: (Default: null)

Instance memberBackgroundImageSource

String: (Default: null)

Instance memberColumns

SalTableColumnCollection: Returns the collection of columns.

Instance memberContextRow

Int32: Returns/Sets the context row.

Instance memberCurrentColumn

Int32: Returns the current column index in the current grid control.

Instance memberCurrentGrid

DataGridView: Returns the current grid control.

Instance memberCurrentRow

Int32: Returns the current row index in the current grid control.

Instance memberDefaultRowHeight

Int32: Returns/Sets the default height of new rows.

Instance memberDisableSplitGrid

Boolean: Prevents the split grid from getting the focus while allowing for he horizontal scroll and column resizing. (Default: False)

Instance memberFocusRow

Int32: Returns/Sets the focus row.

Instance memberIsEmbedded

Boolean: Returns true if the SalTableWindow control is embedded and the columns are owned/parented by the container.

Instance memberKeyPreview

Boolean:

Instance memberMainGrid

DataGridView: Returns the main grid control.

Instance memberRowHeaderFlags

Int32: Returns/Sets row header flags. TBL_RowHdr_*

Instance memberRowHeaderImages

ArrayList: Returns the collection of images used to show row flags on the row header. The collection contains DictionaryEntry items where the key is the flags to test and the value is the image object. Row flags are tested in the order they are found in the list.

Instance memberRowHeaderTitle

String: Returns/Sets the row header title.

Instance memberRowHeaderWidth

Int32: Returns/Sets the row header width.

Instance memberRows

SalTableRowCollection: Returns the collection of rows in the main grid.

Instance memberScrollBars

ScrollBars:

Instance memberSplitGrid

DataGridView: Returns the split grid control.

Instance memberSplitGridRows

Int32: Returns the number of rows initially visible for the split grid control.

Instance memberSplitRows

SalTableRowCollection: Returns the collection of rows in the split grid.

Instance memberSplitter

SplitContainer: Returns the splitter container that wraps the main grid and the split grid.

Instance memberTableFlags

Int32: Returns/Sets table flags. TBL_Flag_*

Methods

Instance memberBeginUpdate()

Prevents the control from updating until the EndUpdate method is called.

Instance memberEndUpdate()

Resumes updating of the list view control after suspending it by the BeginUpdate method.

Instance memberGetCellStyle(column, row)

Returns the CellStyle object for the specified cell.

ParameterTypeDescription
columnSalTableColumn
rowInt32

Returns: DataGridViewCellStyle.

Instance memberGetCellStyleNew(column, row)

Returns or creates the CellStyle object for the specified cell. The CellStyle is guaranteed not to be one of the cached CellStyle instances.

ParameterTypeDescription
columnSalTableColumn
rowInt32

Returns: DataGridViewCellStyle.

Instance memberGetColHeaderStyle(column)

Returns the CellStyle object for the fixed cells in the specified column.

ParameterTypeDescription
columnSalTableColumn

Returns: DataGridViewCellStyle.

Instance memberGetColHeaderStyleNew(column)

Returns or creates the CellStyle object for the fixed cells in the specified column.

ParameterTypeDescription
columnSalTableColumn

Returns: DataGridViewCellStyle.

Instance memberGetColStyle(column)

Returns the CellStyle object for the specified column.

ParameterTypeDescription
columnSalTableColumn

Returns: DataGridViewCellStyle.

Instance memberGetColStyleNew(column)

Returns or creates the CellStyle object for the specified column.

ParameterTypeDescription
columnSalTableColumn

Returns: DataGridViewCellStyle.

Instance memberGetRowHeaderStyle(row)

Returns the CellStyle for the fixed cells for the specified row.

ParameterTypeDescription
rowInt32Context row

Returns: DataGridViewCellStyle.

Instance memberGetRowHeaderStyleNew(row)

Returns or creates the CellStyle for the fixed cells for the specified row.

ParameterTypeDescription
rowInt32Context row

Returns: DataGridViewCellStyle.

Instance memberGetRowStyle(row)

Returns the CellStyle object for the specified row.

ParameterTypeDescription
rowInt32Context row

Returns: DataGridViewCellStyle.

Instance memberGetRowStyleNew(row)

Returns or creates the CellStyle object for the specified row.

ParameterTypeDescription
rowInt32Context row

Returns: DataGridViewCellStyle.

Instance memberTranslateRowContext(rowNum, rowIndex, grid)

ParameterTypeDescription
rowNumInt32
rowIndexInt32&
gridDataGridView&

Returns: Boolean.

Inherited By

NameDescription
SalTableWindowTable Window Control