Skip to content

Commit

Permalink
Added additional attributes for GridCell
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep committed Dec 6, 2023
1 parent bfbb7c4 commit 1f72e2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Proton/Sources/Swift/Grid/View/GridCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ open class GridCell {
"{\(rowSpan),\(columnSpan)}"
}

/// Additional attributes that can be stored on Cell to identify various aspects like Header, Numbered etc.
public var additionalAttributes: [String: Any] = [:]

/// Row indexes spanned by the cell. In case of a merged cell, this will contain all the rows= indexes which are merged.
public internal(set) var rowSpan: [Int]
/// Column indexes spanned by the cell. In case of a merged cell, this will contain all the column indexes which are merged.
Expand Down

0 comments on commit 1f72e2d

Please sign in to comment.