Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6854 closed defect (fixed)

Grid Selection Problem

Reported by: guest Owned by: Bryan Forbes
Priority: high Milestone: 1.2
Component: DojoX Grid Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

Introduced in nightly build: 31/05/2008

Row number:0 (zero) is not maked as selected.

easily replicable choose any test for example: test_data_grid_empty.html

Something strange is occurring with row zero. The onRowClick is received.

Attachments (1)

ErrorMessage.gif (6.8 KB) - added by guest 12 years ago.
Error Message in Firebug when clicking on Row number Zero

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by guest

Tested in FF2

Eduardo

comment:2 Changed 12 years ago by guest

May be this help to find the problem quicker.

If you choose row zero and then

selRows=grid.selection.getSelected(); no_of_rows=selRows.length;

The value of no_of_rows will be : 0 (zero)

Eduardo

comment:3 Changed 12 years ago by dylan

Owner: changed from sorvell to Bryan Forbes

comment:4 Changed 12 years ago by guest

In test:test_sizing_ResizeHandle.html there are two grids:

[1]

<div jsId="aGrid" id="grid" dojoType="dojox.grid.DataGrid?" ....

[2]

<div jsId="theGrid" id="grid1" dojoType="dojox.grid._Grid" ...

First grid (DataGrid?) has the problem. Second Grid (_Grid) is OK

Eduardo

Changed 12 years ago by guest

Attachment: ErrorMessage.gif added

Error Message in Firebug when clicking on Row number Zero

comment:5 Changed 12 years ago by guest

Additional Information

The selectedIndex and the selected[inIndex] array do not change from the previous value after clicking in the Zero row.

I am in remote so I cannot debug this. I had problems when using deselectAll without casting it to Number (It will be nice to do it inside). May be this is the problem inside clickSelect ?

thanks for your time !

Eduardo

comment:6 Changed 12 years ago by guest

This PR was corrected in Nightly Build 3/06/2008, and can be closed.

thanks

Eduardo

comment:7 Changed 12 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

comment:8 Changed 12 years ago by bill

Milestone: 1.2
Note: See TracTickets for help on using tickets.