Ticket #6225 (closed defect: invalid)

Opened 8 months ago

Last modified 8 months ago

dojo.data + grid editors does not work

Reported by: guest Owned by: benschell
Priority: highest Milestone: 1.1
Component: DojoX Grid Version: 1.1b1
Severity: critical Keywords: grid data
Cc: will@…

Description

When double clicking a cell to edit it, the editor does not display. This only happens when dojo.data is being used as the model.

Attachments

6225.patch (1.0 kB) - added by benschell 8 months ago.

Change History

Changed 8 months ago by peller

  • owner changed from sorvell to benschell

Changed 8 months ago by benschell

Can you possibly give me a little more information about how to reproduce this bug? I edited one of the Grid + Dojo.data test files to have editors (it did not have them before) and, ignoring the IFRS error (since I'm attempting to edit the ID field in the store), the editors appear to work fine for me off of trunk. I'm attaching the patch to show how I'm testing, maybe you can point me in the right direction?

Changed 8 months ago by benschell

Changed 8 months ago by guest

Changed 8 months ago by guest

I have a good feeling it has to do with the TextBox? editor... when I changed one of the rows in the test it broke:

	{ field: 4, width: 'auto', editor: dojox.grid.editors.TextBox},

Changed 8 months ago by guest

Oh, I guess that editor was renamed to Input. doh.

Changed 8 months ago by alex

  • status changed from new to closed
  • resolution set to invalid

guess it's not a bug!

Thanks Ben!

Changed 8 months ago by peller

is an exception raised on the console? If it's getting swallowed, I'd suggest that's a bug, though not a severe one.

Changed 8 months ago by peller

hmm... ok so editor: is set to a value which is undefined, as opposed to editorClass which is quoted. This seems prone to errors such as this one. Anything we can do?

Note: See TracTickets for help on using tickets.