Opened 13 years ago

Closed 12 years ago

#9166 closed defect (invalid)

onRowClick not firing first time row is selected in a DataGrid in a Dialog

Reported by: pdross Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.3.0
Keywords: DataGrid Dialog onRowClick filter Cc:
Blocked By: Blocking:


To setup

  1. Save mytest2.html and belgian_postcodes.json is a directory
  2. Create the sub-directory dojoroot
  3. Place dojo 1.3.0 dojo, dojox and dijit in dojoroot

To reproduce

  1. open mytest2.html
  2. click on "Show me!"
  3. Click on the first row in the modal popup

Expected behaviour:

  • An alert popup containing "Sugny" appears

Actual behaviour

  • Nothing happens
  • Click on the row again the expected behaviour occurs

If you comment out the line:

grid.filter({postcode: postcode_filter});

then the expected behaviour occurs. However then the filter grid by postcode no longer works, so not an acceptable workaround.

Attachments (2)

mytest2.html (2.3 KB) - added by pdross 13 years ago.
belgian_postcodes.json (238 bytes) - added by pdross 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by pdross

Attachment: mytest2.html added

Changed 13 years ago by pdross

Attachment: belgian_postcodes.json added

comment:1 Changed 13 years ago by pdross

For a work-around set the autofocus attribute on the Dialog to be false

<div dojoType="dijit.Dialog" id="selectPostcodeDialog" title="Form Dialog" autofocus="false">

This workaround was suggested in the following thread:

comment:2 Changed 12 years ago by Nathan Toone

Resolution: invalid
Status: newclosed

Closing - as there is a workaround.

Note: See TracTickets for help on using tickets.