Git Product home page Git Product logo

Comments (5)

kishikawakatsumi avatar kishikawakatsumi commented on August 25, 2024 1

@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.

kishikawakatsumi avatar kishikawakatsumi commented on August 25, 2024

@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.

kishikawakatsumi avatar kishikawakatsumi commented on August 25, 2024

If you have further questions, please feel free to reopen this issue.

from spreadsheetview.

Noitidart avatar Noitidart commented on August 25, 2024

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.

Noitidart avatar Noitidart commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.