GridConfiguration
public struct GridConfiguration
Undocumented
-
Undocumented
Declaration
Swift
public let style: GridStyle
-
Undocumented
Declaration
Swift
public let boundsLimitShadowColors: GradientColors
-
Undocumented
Declaration
Swift
public let columnsConfiguration: [GridColumnConfiguration]
-
Undocumented
Declaration
Swift
public let rowsConfiguration: [GridRowConfiguration]
-
Undocumented
Declaration
Swift
public let collapsedColumnWidth: CGFloat
-
Undocumented
Declaration
Swift
public let collapsedRowHeight: CGFloat
-
Ignores optimization to initialize editor within the cell. With optimization, the editor is not initialized until the cell is ready to be rendered on the UI thereby not incurring any overheads when creating attributedText containing a
GridView
in an attachment. Defaults tofalse
.Declaration
Swift
public let ignoresOptimizedInit: Bool
-
init(columnsConfiguration:
rowsConfiguration: style: boundsLimitShadowColors: collapsedColumnWidth: collapsedRowHeight: ignoresOptimizedInit: ) Undocumented
Declaration
Swift
public init(columnsConfiguration: [GridColumnConfiguration], rowsConfiguration: [GridRowConfiguration], style: GridStyle = .default, boundsLimitShadowColors: GradientColors = GradientColors(primary: .black, secondary: .white), collapsedColumnWidth: CGFloat = 2, collapsedRowHeight: CGFloat = 2, ignoresOptimizedInit: Bool = false )
-
Undocumented
Declaration
Swift
public var numberOfColumns: Int { get }
-
Undocumented
Declaration
Swift
public var numberOfRows: Int { get }