Class GridExtensions
Extension methods for IGrid.
Inheritance
GridExtensions
Namespace: BiExcellence.OpenBi.Api.Commands.DataProviders
Assembly: BiExcellence.OpenBi.Api.DataProvider.dll
Syntax
public static class GridExtensions
Methods
ToDrillState(IDimensionGridCell, IDataProviderView, DrillStateValue)
Converts a dimension grid cell to a drill state tuple. Only works for Collapsed or Expanded cells.
Declaration
public static IDrillStateTuple? ToDrillState(this IDimensionGridCell cell, IDataProviderView view, DrillStateValue state)
Parameters
Type | Name | Description |
---|---|---|
IDimensionGridCell | cell | The cell. |
IDataProviderView | view | The data provider view. |
DrillStateValue | state | The state. |
Returns
Type | Description |
---|---|
IDrillStateTuple |
ToFilter(IDimensionGridCell)
Converts a dimension grid cell to a filter.
Declaration
public static IFilter ToFilter(this IDimensionGridCell cell)
Parameters
Type | Name | Description |
---|---|---|
IDimensionGridCell | cell | The cell. |
Returns
Type | Description |
---|---|
IFilter |