Re: [qooxdoo-devel] Setting an item as selected in a QxListView

2006-04-23 Thread Benjamin Reitzammer
Hi, Jim Hunter wrote: Oops, hold the presses... it does mark it as selected initially, but when I select another row, the first row does not become unselected. I guess I have more work to do. Damn, it did seem too easy. This is probably because the selectionmanager doesn't know of the initia

Re: [qooxdoo-devel] Setting an item as selected in a QxListView

2006-04-23 Thread Jim Hunter
You were correct! By adding a property _selected:{text:"true"} to the correct row, it is rendered as selected. Excellent call! I first tried just 'selected' and it didn't work, but after looking at the source, it's actually '_selected'. Once making the change things work just fine. Thanks!JimOn 4/2

Re: [qooxdoo-devel] Setting an item as selected in a QxListView

2006-04-23 Thread Jim Hunter
Oops, hold the presses... it does mark it as selected initially, but when I select another row, the first row does not become unselected. I guess I have more work to do. Damn, it did seem too easy.Jim On 4/23/06, Jim Hunter <[EMAIL PROTECTED]> wrote: You were correct! By adding a property _selected

Re: [qooxdoo-devel] Setting an item as selected in a QxListView

2006-04-23 Thread Benjamin Reitzammer
Hi, Jim Hunter wrote: Is there a way to pass in a property on a given row of data to signify that this is a selected row when the QxListView is created? I need to be able to have one or more rows marked as selected when the grid is created. I could not find anything about this in the list post

[qooxdoo-devel] Setting an item as selected in a QxListView

2006-04-23 Thread Jim Hunter
Is there a way to pass in a property on a given row of data to signify that this is a selected row when the QxListView is created? I need to be able to have one or more rows marked as selected when the grid is created. I could not find anything about this in the list posts. Thanks,Jim