-
4 Apr 2012 8:06 PM #1
Where is Auto Columns??
Where is Auto Columns??
Hi ,
I am trying to follow this tutorial :
http://www.sencha.com/learn/build-a-...-and-ext-js-4/
to understand how to use Designer
I did everything until this line in the tutorial says :
Let’s now link each grid columns to the appropriate JSON store data fields. In the Components panel, right-click on the grid and select Auto Columns from the context menu.
I right-clicked everywhere in the grid panel, but never find Auto Columns.
Sencha2.jpg
Thanks, your help is appreciated.
-
4 Apr 2012 8:27 PM #2
From the colors in the screenshot, it looks like you are using Designer 2, not Designer 1.
You should right click on the grid itself, or the grid in the inspector. The center portion is actually the gridview.Aaron Conran
@aconran
Sencha Architect Development Team
-
4 Apr 2012 8:46 PM #3
Yes, I am using Designer 2 trial,
Here is what I got when I right click in the grid or the grid in the inspector :
Sencha3.jpg
There is no Auto Columns.
-
4 Apr 2012 8:54 PM #4
That is a screenshot of you right clicking on the gridview in the canvas.
Right click on the "GridPanel" in the Inspector.Aaron Conran
@aconran
Sencha Architect Development Team
-
5 Apr 2012 2:51 AM #5
Thanks lot, it's working now.
BUT when I click the Preview button (and the apache server is running ), the page come out blank :
Sencha4.jpg
thanks again.
-
5 Apr 2012 9:20 AM #6
-
5 Apr 2012 9:51 AM #7
The page is blank, Chrome developer tools gives this :
Sencha6.jpg
Another question please, why when I switch to code view I can't update the code ?
thanks
-
5 Apr 2012 10:19 AM #8
Sounds like you are unable to resolve the store. Do you have the proper storeId/userClassName etc?
You can modify the code's event handlers and/or override code. The generated code is read-only so that you can edit it in the design view.Aaron Conran
@aconran
Sencha Architect Development Team
-
5 Apr 2012 6:02 PM #9
I deleted the stores and start over in case I missed something, now when I want to do this step :
Right-click on “CarDataJson” store and select “Load Data” from the context menu. Confirm that 5 records were loaded.
I got this error :
Sencha7.jpg
thanks.
-
5 Apr 2012 8:45 PM #10
Is your urlPrefix setup properly?
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote