Skip to content

Commit

Permalink
fix: check for isDataView
Browse files Browse the repository at this point in the history
  • Loading branch information
vcellu committed Sep 8, 2022
1 parent 5f698ad commit 601a2d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/ContainerView.swift
Expand Up @@ -294,6 +294,10 @@ class ContainerView: UIView {
return
}

if (isDataView) {
return
}

let y = totals.position == "bottom" ? self.frame.height - headerView.frame.height * 2 : headerView.frame.height
let frame = CGRect(x: 0.0, y: y, width: headerView.frame.width, height: headerView.frame.height)
let view = TotalsView(frame: frame, withTotals: totals, dataColumns: dataColumns, theme: tableTheme, cellStyle: cellStyle, columnWidths: self.columnWidths)
Expand Down

0 comments on commit 601a2d3

Please sign in to comment.