Comments (5)
@Noitidart No, SpreadsheetViewDataSource
doesn't have such property/setter. You need to implement data source method first,
func frozenRows(in spreadsheetView: SpreadsheetView) -> Int {
return frozonRowCount
}
Then change frozonRowCount
, call spreadsheetView.reloadData()
to reflect current state. Probably you should learn basic iOS programming first.
from spreadsheetview.
@Noitidart You can use dataSource method instead. spreadsheetView.frozenColumns
is a convenience API to retrieve current setting. SpreadsheetView is almost same usage for UITableView and UICollectionView.
from spreadsheetview.
If you have further questions, please feel free to reopen this issue.
from spreadsheetview.
Thank you very much @kishikawakatsumi I'm actually not a Swift guy, do you mean I can do this:
spreadsheetView.dataSource.setFrozenColumns(2)
from spreadsheetview.
Thank you sir for those details. I will try it out. Thanks also for pointing out this is the basics, I was constrained by time so needed a working solution, but I will try to learn the basics relevant to this, if you have any related articles or messages I would really appreciate it.
from spreadsheetview.
Related Issues (20)
- For the ones encountering with Unknown class in Interface Builder file
- Support macOS?
- Change Layout from left to right HOT 2
- spreadsheetView.dataSource = self crashing HOT 1
- Is it gridline customised?
- Scroll to end of textfield when width is greater than visible width.
- I think protocol should inherit from AnyObject. HOT 1
- Doesn't work with Storyboard? I cannot set delegate and dataSource HOT 3
- add timeline on custom created calendar HOT 2
- Reload issue
- Is there any method to reload particular row and column HOT 1
- Accessibility support
- Unable to deselect item in spreadsheetView(_:didSelectItemAt:)
- Requesting @IBDesignable support for SpreadSheetView
- fixed rows and columns HOT 1
- How can I display the json data in a Swift SpreadsheetView HOT 1
- speadsheetView with SwiftUI
- Can add Freeze column and row Footer ? HOT 1
- Struct data to string
- layout spreadsheetview by using snapkit,when reload, layout has problem, and data display in view some still keep old data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spreadsheetview.