View Full Version : RowEditor Question.

12 Sep 2009, 6:44 AM
I am attempting to recreate the Row Editor example

I am including RowEditor.js

<script src="../../lib3/extjs/examples/ux/RowEditor.js" type="text/javascript"></script>

After I ran the example that I copied from. https://www.extjs.com/deploy/dev/examples/ux/RowEditor.js I got record creation error. So I included gen-names.js from http://trac.geoext.org/browser/ext/3.0.0/examples/grid/gen-names.js?rev=1266

This solved this record generation problems, but my page view is incomplete.


The top view is on my local machine and the bottom view is from the example page:

Any help would be appreciated.


12 Sep 2009, 6:49 AM
Additional information;
I am using FF 3.5 and when I double click on a row to edit, The follow error appears in Firebug:

Permission denied to access property 'dom' from a non-chrome context
chrome://firebug/content/blank.gifExt.DomHelper=function(){var s=null,j=/^...b.stopEvent();this.completeEdit()}}}});\n

12 Sep 2009, 9:14 AM
Your best shot at some constructive feedback is to include a small complete example, that shows the problem. It's very difficult to assess your problem with the info you have given.

If you set out to create a boiled down example, you may also run into something in your setup that causes the problem.. :)

12 Sep 2009, 9:30 PM
Thank you,
I didn't realize that it was unclear, I will construct a more detailed post tomorrow.

13 Sep 2009, 6:58 AM
ExtMore, you are completely correct.
As I reviewed the code to create a boiled down post, I discovered that I was missing the style sheets that are required for row editor:

<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="../shared/examples.css" />
<link rel="stylesheet" type="text/css" href="RowEditor.css" />
<link rel="stylesheet" type="text/css" href="grid-examples.css" />

Once I added these css references and remapped the images, everything worked fine.

Thank you for the good advice.