bannzai / bannzai/SpreadsheetView

With frozenRows method getting different indexes

Open
#239 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
3.5k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

## Expected Behavior
Frozen 1 row and 1 column should show array from index 0

## Actual Behavior
When I freeze both column and row. I am not getting first value of the array.
I have just commented
func frozenRows(in spreadsheetView: SpreadsheetView) -> Int {
return 1
}
function in one and uncommented in another.

With frozenRows method
![without_commented](https://user-images.githubusercontent.com/49022530/83126653-c3775c80-a0f6-11ea-8b77-0a1e54b40de1.png)

Commented frozenRows method
![with_commented](https://user-images.githubusercontent.com/49022530/83126650-c07c6c00-a0f6-11ea-98b0-123bcf9ecdcd.png)

Please let me know how to deal with this?

## Steps to Reproduce the Problem

1. Created 1 dimensional array for row header
2. Created 1 dimensional array for column header
3. Created 2 dimensional array for values.

## Specifications

- Xcode version: ? 11.0
- iOS version: ? 12.4
- Dependency manager + version: ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.