Welcome, Guest
Username Password: Remember me

Updating Cell from outside Sensible
(1 viewing) (1) Guest

TOPIC: Updating Cell from outside Sensible

Updating Cell from outside Sensible 1 year, 7 months ago #1

Was just checking to see if there is anything within the Sensible Framework to update a cell from outside the Sensible Table framework. I need to do some calculations from outside the Table but then update the cell contents once the calculations have been completed.
  • monsta
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 2

Re: Updating Cell from outside Sensible 1 year, 7 months ago #2

Is this cell bound to an object's property, and you're updating the value of this property and want it to reflect on the cell?
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Updating Cell from outside Sensible 1 year, 7 months ago #3

Hi Tarek,

yes that is correct in both cases. Its a bound object and I want to update the the text in that cell for it to be persisted.
  • monsta
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 2

Re: Updating Cell from outside Sensible 1 year, 7 months ago #4

Yes, this is something we've addressed in our new 1.6 release. Should be out in 2 to 3 days max. I'll keep you posted.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Updating Cell from outside Sensible 1 year, 7 months ago #5

This is now available in our new 1.6 release. STV should update its cells' values if you call [tableModel reloadBoundValues]. Thanks!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Updating Cell from outside Sensible 1 year, 6 months ago #6

Hi,

Further to this, if the user taps the Add button, and a auto-generated detailedview is displayed I need to update the cell text within say a SCTextFieldCell. Whats the best way to update the cell's text manually behind the scenes and reflect on the tableview (so from outside of the delegate method calls).

The tableview is based on CoreData (ArrayOfObjects), similiar to your iPad sample app.

Thanks, Phil.
  • monsta
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 2
Time to create page: 0.89 seconds