Class GridDataTableModelHelper
Inheritance
System.Object
GridDataTableModelHelper
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public static class GridDataTableModelHelper : Object
Properties
IsInDesignMode
Declaration
public static bool IsInDesignMode { get; }
Property Value
Methods
AdjustModelWidth(GridDataTableModel, Double)
Declaration
public static void AdjustModelWidth(this GridDataTableModel model, double size)
Parameters
AdjustParents(GridDataTableModel, GridDataChildTableModel, Boolean)
Declaration
public static void AdjustParents(this GridDataTableModel model, GridDataChildTableModel childModel, bool IsInCollaspeState)
Parameters
ExpandRange(GridDataTableModel, GridRangeInfo)
Declaration
public static GridRangeInfo ExpandRange(this GridDataTableModel model, GridRangeInfo range)
Parameters
Returns
GetNestedTableIndentedValue(GridDataTableModel, ref Int32)
Declaration
public static void GetNestedTableIndentedValue(this GridDataTableModel model, ref int value)
Parameters
GetOrderForChildTableBasedOnIndex(GridDataTableModel, Int32)
Declaration
public static int GetOrderForChildTableBasedOnIndex(this GridDataTableModel model, int actualRowIdx)
Parameters
Returns
IsInFilterBarPosition(GridDataTableModel, Int32)
Declaration
public static bool IsInFilterBarPosition(this GridDataTableModel model, int actualRowIndex)
Parameters
Returns
IsInGroupRecordIndex(GridDataTableModel, Int32)
Determines whether the RowIndex is in group records based on position.
Declaration
public static bool IsInGroupRecordIndex(this GridDataTableModel model, int actualRowIndex)
Parameters
Type |
Name |
Description |
GridDataTableModel |
model |
The model.
|
System.Int32 |
actualRowIndex |
Actual index of the row.
|
Returns
Type |
Description |
System.Boolean |
true if [is in group index] [the specified model]; otherwise, false .
|
IsInHiddenState(GridDataTableModel, Int32)
Declaration
public static bool IsInHiddenState(this GridDataTableModel model, int rowIndex)
Parameters
Returns
IsInNestedIndex(GridDataTableModel, Int32)
Declaration
public static bool IsInNestedIndex(this GridDataTableModel model, int rowIdx)
Parameters
Returns
IsInSummaryPosition(GridDataTableModel, Int32)
Declaration
public static bool IsInSummaryPosition(this GridDataTableModel model, int actualRowIndex)
Parameters
Returns
IsInUnboundRow(GridDataTableModel, Int32)
Returns if the actual row is in Unbound Row.
Declaration
public static bool IsInUnboundRow(this GridDataTableModel model, int actualRowIdx)
Parameters
Returns
RefreshParentGrids(GridDataTableModel)
Declaration
public static void RefreshParentGrids(this GridDataTableModel model)
Parameters
ResolveAddNewPositionInGrid(GridDataTableModel)
Retunrs the Add new Row Position
Declaration
public static int ResolveAddNewPositionInGrid(this GridDataTableModel model)
Parameters
Returns
ResolveDefaultColumnOffset(GridDataTableModel)
Declaration
public static int ResolveDefaultColumnOffset(this GridDataTableModel model)
Parameters
Returns
ResolveDefaultNestedIndex(GridDataTableModel)
Declaration
public static int ResolveDefaultNestedIndex(this GridDataTableModel model)
Parameters
Returns
ResolveEndIndexOfStackedHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, GridDataStackedHeaderColumn)
Declaration
public static int ResolveEndIndexOfStackedHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, GridDataStackedHeaderColumn stackedHeaderCol)
Parameters
Returns
ResolveFilterBarPositionInGrid(GridDataTableModel)
Returns the Filterbar Position.
Declaration
public static int ResolveFilterBarPositionInGrid(this GridDataTableModel model)
Parameters
Returns
ResolveGroupPositionToIndex(GridDataTableModel, Int32)
Resolves the index of the group position to index in the grid.
Declaration
public static int ResolveGroupPositionToIndex(this GridDataTableModel model, int rowIndex)
Parameters
Type |
Name |
Description |
GridDataTableModel |
model |
The model.
|
System.Int32 |
rowIndex |
Index of the row.
|
Returns
ResolveGroupRecordPositionToIndex(GridDataTableModel, Int32)
Declaration
public static int ResolveGroupRecordPositionToIndex(this GridDataTableModel model, int recordIndex)
Parameters
Returns
ResolveIndexToGroupPosition(GridDataTableModel, Int32)
Resolves the index to group position in the GroupModel.
Declaration
public static int ResolveIndexToGroupPosition(this GridDataTableModel model, int actualRowIndex)
Parameters
Type |
Name |
Description |
GridDataTableModel |
model |
The model.
|
System.Int32 |
actualRowIndex |
Actual index of the row.
|
Returns
ResolveIndexToRecordPosition(GridDataTableModel, Int32)
Resolves row index to position in the records collection.
Declaration
public static int ResolveIndexToRecordPosition(this GridDataTableModel model, int actualRowIdx)
Parameters
Returns
ResolveIndexToStackHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, Int32)
Declaration
public static GridDataStackedHeaderColumn ResolveIndexToStackHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, int actualColIndex)
Parameters
Returns
Declaration
public static int ResolveIndexToStackHeaderRowPosition(this GridDataTableModel model, int actualRowIndex)
Parameters
Returns
ResolveIndexToSummaryPosition(GridDataTableModel, Int32)
Returns the summary row index.
Declaration
public static int ResolveIndexToSummaryPosition(this GridDataTableModel model, int actualRowIndex)
Parameters
Returns
ResolvePositionToIndex(GridDataTableModel, Int32)
Resolves the index in the Grid from the Records collection.
Declaration
public static int ResolvePositionToIndex(this GridDataTableModel model, int recordIndex)
Parameters
Returns
ResolvePositionToVisibleColumnIndex(GridDataTableModel, Int32)
Declaration
public static int ResolvePositionToVisibleColumnIndex(this GridDataTableModel model, int colIdx)
Parameters
Returns
ResolveStartIndexBasedOnPosition(GridDataTableModel)
Returns the starting index for records.
Declaration
public static int ResolveStartIndexBasedOnPosition(this GridDataTableModel model)
Parameters
Returns
ResolveStartIndexOfGroup(GridDataTableModel, Group)
Declaration
public static int ResolveStartIndexOfGroup(this GridDataTableModel model, Group group)
Parameters
Returns
ResolveStartIndexOfStackedHeaderColumn(GridDataTableModel, GridDataStackedHeaderRow, GridDataStackedHeaderColumn, Int32)
Declaration
public static int ResolveStartIndexOfStackedHeaderColumn(this GridDataTableModel model, GridDataStackedHeaderRow stackedRow, GridDataStackedHeaderColumn stackedHeaderCol, int actualColIndex)
Parameters
Returns
ResolveVisibleColumnIndexToPosition(GridDataTableModel, Int32)
Declaration
public static int ResolveVisibleColumnIndexToPosition(this GridDataTableModel model, int visibleColIndex)
Parameters
Returns