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
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
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
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
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