SpreadsheetView
SpreadsheetView copied to clipboard
Resizing cells on device rotation
Hi,
Could somebody help with resizing cell on device rotation to fit screen.
func spreadsheetView(_ spreadsheetView: SpreadsheetView, widthForColumn column: Int) -> CGFloat { return self.view.frame.size.width / 4 }
it sets initially but on rotation doesn't recalculate.
You will have to reload the data to make this happen.