Giter Club home page Giter Club logo

Comments (5)

dishankEbizz avatar dishankEbizz commented on June 14, 2024 1

one direction at a time will be helpful. means bool to inverse freeze direction also can be useful.

from spreadsheetview.

FadyFaheem avatar FadyFaheem commented on June 14, 2024

I will be adding to my ToDo.Md file. Currently not possible, but will be definitely adding this as an option. If you don't mind would you be able to get me an example of this?

from spreadsheetview.

dishankEbizz avatar dishankEbizz commented on June 14, 2024

@FadyFaheem
Timetable
I need to freeze the column from the right side. just like the attached image, the blue colored column should be freeze.

from spreadsheetview.

FadyFaheem avatar FadyFaheem commented on June 14, 2024

Do you ned to have them frozen on both sides? If not, I can work on creating a function to call like a bool to inverse freeze direction.

from spreadsheetview.

FadyFaheem avatar FadyFaheem commented on June 14, 2024

@dishankEbizz, I've looked into this, and it might not be reasonable because of how the original author wrote this. However, I may have a solution if you'd like to use it. The way to do it is to have two spreadsheet views, your main one on the left and the frozen one on the right, and have it follow the original offset using function -> spreadsheetView.contentOffset. You'll be able to set the second spreadsheet view offset using the original one via the set function, which will look something like this.

     spreadsheetView.setContentOffset(CGPoint(x: 0, y: spreadsheetView.contentOffset.y), animated: true)

You will need to disable touch on the secondary spreadsheet view, but this will give you what you need for this concept to work.

I'll also be looking into adding a didScroll delegate method for this to be called, which will make this solution viable until a true rewrite is done.

from spreadsheetview.

Related Issues (1)

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.