On Fri, 13 Mar 2009, Derrell Lipman wrote:
> On Fri, Mar 13, 2009 at 6:08 PM, Fritz Zaucker <[email protected]> wrote:
>
>> Hi,
>>
>> is it possible to select a row in a table from within a Qooxdoo program? I
>> found clearSelection(), but there is no setSelection() for a table. I also
>> found _setSelectedItem(), but I don't know what the selectable item would
>> be.
>>
>
> I think you're looking for
> table.getSelectionModel().setSelectionInterval(firstRowIndex, lastRowIndex);
Thanks, this is even simpler than
clearSelection();
setSelectionInterval();
Fritz
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker +41 62 775 9900 (switch board)
Aarweg 15 +41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel