|
POST
|
It looks like the sample was missing the data-dojo-id attribute. If you add the following to the table tag the sample should work. data-dojo-id="grid" I've updated the broken sample and it should appear in the help system later today.
... View more
05-23-2011
09:24 AM
|
0
|
0
|
1287
|
|
POST
|
Andrew, I ran some more tests and for me it looks like it retrieves the matching information and displays it in the grid but the data grid click isn't working. I'll find the issue and update the sample. Kelly
... View more
05-23-2011
08:51 AM
|
0
|
0
|
1287
|
|
POST
|
This is due to some changes between earlier versions of dojo and version 1.6.1. Version 2.3 of the ArcGIS API for JavaScript uses version 1.6.1 of dojo and in that version if you have a child of a border container without a region attribute specified you may get the 'word is undefined' error. You can fix this by specifying an region attribute. http://bugs.dojotoolkit.org/ticket/12795
... View more
05-23-2011
08:46 AM
|
0
|
0
|
1075
|
|
POST
|
We've created a patch to update this issue - see more details here: http://forums.arcgis.com/threads/30762-implement-measurement-widget-(version-2.3)-to-a-different-wkid?p=103602#post103602
... View more
05-20-2011
08:04 AM
|
0
|
0
|
792
|
|
POST
|
We have a patch for the measurement widget when working with projected data. To use the patch reference the attached .js file in your application after the jsapi script tag:
<script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.3"></script>
<script type="text/javascript" src="./patch.js"></script>
... View more
05-20-2011
08:04 AM
|
0
|
0
|
1875
|
|
POST
|
We have resolved the issues with the download and the updated zip files are here: http://resources.arcgis.com/content/web/arcgis-javascript-api-download
... View more
05-19-2011
02:32 PM
|
0
|
0
|
2407
|
|
POST
|
Did you copy the sample locally then switch out the script tags to point to version 2.2 on your machine? If so then yes that's why it does not work. Version 2.3 uses an upgraded version of dojo (v 1.6). At dojo 1.6 djConfig and dojoType were deprecated so many of the samples in the resource center were migrated to use the new approach. There are details here on what changed: http://dojotoolkit.org/reference-guide/releasenotes/1.6.html
... View more
05-19-2011
01:26 PM
|
0
|
0
|
1287
|
|
POST
|
Andrew, It works for me. Perhaps its a browser specific issue, which browser (and version) are you using?
... View more
05-19-2011
01:19 PM
|
0
|
0
|
1287
|
|
POST
|
Here's an example of how you can dynamically generate a layer list using the twitter template from ArcGIS.com. Download the attached js file and place it in the javascript folder of your application. Note: this is the location where the layout.js file is located. Next, open the layout.js file in a text editor and add the following script tag directly below the line that adds the layout.js file (approx line 21): <script type="text/javascript" src="javascript/layerVis.js"></script> Next search the layout.js file and find the section of code that checks if the map is loaded and calls the initUI function and replace it with this:
if(map.loaded){
initUI(itemInfo);
}
else{
dojo.connect(map,"onLoad",function(){
initUI(itemInfo);
});
}
Finally, update the initUI function in layout.js to read as follows:
function initUI(itemInfo) {
//add theme for popup
dojo.addClass(map.infoWindow.domNode, "chrome");
var scalebar = new esri.dijit.Scalebar({
map: map,
scalebarUnit: "english" //metric or english
});
displayLayerList(itemInfo);
}
... View more
05-19-2011
09:03 AM
|
2
|
1
|
697
|
|
POST
|
This is a bug with the measurement widget, there's a workaround listed here
... View more
05-19-2011
08:14 AM
|
0
|
0
|
792
|
|
POST
|
This is a bug with the measurement widget and we'll fix it for the next release. You can workaround this issue by creating a global variable in your application called wkid and assigning the spatial reference number to it:
var wkid = 26912;
... View more
05-19-2011
08:01 AM
|
0
|
0
|
1875
|
|
POST
|
Looks like there are some issues with the download version. We are updating it and the fixed version should be available tomorrow.
... View more
05-18-2011
03:51 PM
|
0
|
0
|
2407
|
|
POST
|
The download version is now available on the ArcGIS API for JavaScript download page. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_accessapi.html
... View more
05-18-2011
05:50 AM
|
0
|
0
|
2407
|
|
POST
|
Version 2.3 of the ArcGIS API for JavaScript was released this morning. View the Server blog for more details: http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/05/16/ArcGIS-API-for-JavaScript-Version-2.3-released_2E00_.aspx
... View more
05-17-2011
08:12 AM
|
0
|
0
|
711
|
|
POST
|
I justed tested it in IE8 and it loaded data into the grid but it took several seconds.
... View more
05-17-2011
07:12 AM
|
0
|
0
|
832
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-31-2026 08:27 AM | |
| 1 | 03-26-2026 09:07 AM | |
| 1 | 03-26-2026 10:11 AM | |
| 1 | 03-24-2026 02:23 PM | |
| 1 | 03-17-2026 02:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|