And setValue(col,row,val,view) currently takes an row id corresponding
to certain view. It would be ideal, for my purposes, if there was a
setUniqueValue(col,rowid,val) where rowid is the unique id assigned by
smart.table.Model.

Currently my code depends on the unique row id being (row-index-in-view-0 + 1).

Before adding it in I wanted to make sure that the api didn't already
provide some way to doing this.

-deech

On Fri, Dec 3, 2010 at 6:59 AM, Derrell Lipman
<[email protected]> wrote:
> On Fri, Dec 3, 2010 at 00:08, aditya siram <[email protected]> wrote:
>>
>> This approach is good for reading the value of a row but what about
>> changing it? It seems as though the setValue() function in the model
>> is does more book-keeping.
>
> Yes. If you want to set data in the model, you should be using the
> setValue() method. It sounds like you're looking at the source code (good!)
> so a review of the __set() method which setValue() calls shows you that it
> must maintain the sorts of the various views when data is changed.
> Derrell
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to