#6225 closed defect (invalid)
dojo.data + grid editors does not work
Reported by: | guest | Owned by: | benschell |
---|---|---|---|
Priority: | blocker | Milestone: | 1.1 |
Component: | DojoX Grid | Version: | 1.1b1 |
Keywords: | grid data | Cc: | [email protected]… |
Blocked By: | Blocking: |
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 (1)
Change History (9)
comment:1 Changed 13 years ago by
Owner: | changed from sorvell to benschell |
---|
comment:2 Changed 13 years ago by
Changed 13 years ago by
Attachment: | 6225.patch added |
---|
comment:3 Changed 13 years ago by
http://trac.psychdesktop.net/browser/trunk/install/apps/Administration%20Panel/app.js#L79
That's where the problem is occurring for me.
comment:4 Changed 13 years ago by
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},
comment:6 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
guess it's not a bug!
Thanks Ben!
comment:7 Changed 13 years ago by
is an exception raised on the console? If it's getting swallowed, I'd suggest that's a bug, though not a severe one.
comment:8 Changed 13 years ago by
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?
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?