Code Monkey home page Code Monkey logo

Comments (4)

ZacharyKhan avatar ZacharyKhan commented on July 19, 2024

I'm assuming that self.startDeleteWorkflow() is where you are trying to update the cell. If that is the case, you need to call update() or cellUpdate() on the row.

Refer to the README to see how update() and cellUpdate() work.

from former.

danmartyn avatar danmartyn commented on July 19, 2024

the startDeleteWorkflow function is where I create an action sheet to confirm if the user wants to do the deletion. Is changing the cell's text label in configure not the correct spot? I'm using update in my other section, but thats to change the content in a text field, not the attributes of it?

from former.

ZacharyKhan avatar ZacharyKhan commented on July 19, 2024

I believe when you update the user interface of any row you should be using the update() or cellUpdate() function on the row.

Do you have a repo I can take a look at with the example code you're referring to?

from former.

ZacharyKhan avatar ZacharyKhan commented on July 19, 2024

After reading this over once again, I think to accomplish your goal you should use a CustomRowFormer. Check the README and example with custom row, it isn't too complex IMO. If you need help with that, feel free to create a new issue.

If you still need to use LabelRowFormer for some reason, use one of the update() blocks on the cell to modify the cell and its subviews.

Closing due to inactivity.

from former.

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.