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.

-deech

On Thu, Dec 2, 2010 at 8:13 PM, Derrell Lipman
<[email protected]> wrote:
> On Thu, Dec 2, 2010 at 16:44, aditya siram <[email protected]> wrote:
>>
>> Hi all,
>> I am using the SmartTable contrib [1] to manage different views in my
>> application. In one of my views in order to do an action on my rows I
>> have to depend on the property that unique ids are assigned
>> sequentially in view 0.  I was wondering if there was a =better way of
>> solving the problem. The ideal would be if there was
>> smart.table.Default.setValue() function that can take the rows unique
>> id, or if there was a function that mapped a row index in one view to
>> another. Does something like this exist?
>
> You can get a row given its unique identifier by calling
> tableModel.getRowById(view, id).
> Given a row, you can get its unique identifier with
> tableModel.getRowId(row).
> Does these help you?
> 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