|
POST
|
I have a column within a dojox.grid.DataGrid that I don't want to be sortable. It doesn't pull any information I just have created a custom header that closes the grid. Is there a way to achieve this?
... View more
01-16-2013
09:38 AM
|
0
|
0
|
656
|
|
POST
|
the website will take some getting used to, but I like the look and feel of it so far. Looking forward to seeing the full list of enhancements and bug fixes.
... View more
01-10-2013
03:25 AM
|
0
|
0
|
1633
|
|
POST
|
Getting the following error whenever I resize my app (open in IE) via the slider on the TOC. SCRIPT5022: No region setting for map utils.js, line 2 character 1078 Any clues on a fix or what I've done wrong? Its set as "center" in the HTML but I'm figuring thats not what the error is saying... EDIT: Turns out I had the center tag in the wrong div. I added it and it removed the error, however, the map doesn't resize... EDIT 2: Updated the resize statement to reference the correct Div.
... View more
01-07-2013
10:33 AM
|
0
|
0
|
1231
|
|
POST
|
I have a loading message in one of my apps that appears when I start the search and then leaves when the results are found. I did this simply with: grid.showMessage("Loading..."); I placed it above the line that returns the results. This may be useful to you, not sure.
... View more
01-07-2013
06:02 AM
|
0
|
0
|
419
|
|
POST
|
I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?
... View more
01-07-2013
03:40 AM
|
0
|
1
|
712
|
|
POST
|
it'll be at the very top of your code just above the dojo.require statements. You should make sure your agsjs folder is referenced properly in this code as well.
... View more
01-04-2013
08:36 AM
|
0
|
0
|
521
|
|
POST
|
what build of the TOC are you using? I am using version 3.2 of the API and build 2.04 of the TOC and it works fine. var djConfig = {
parseOnLoad: true,
packages: [{
"name": "agsjs",
"location": location.pathname.replace(/\/[^/]+$/, "")+'/Path/To/agsjs',
"location": 'https://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/2.04/xbuild/agsjs' // for xdomain load
}]
};
... View more
01-04-2013
08:14 AM
|
0
|
0
|
521
|
|
POST
|
Is there a way to list the layers in alphabetical order by ID? There doesn't seem to be any particular order to the way they are loading in my app. The order in which I add them is not the order that they are listed in my TOC.
... View more
01-03-2013
11:48 AM
|
0
|
1
|
919
|
|
POST
|
thanks, I wound up creating a work around for what I want by creating a new column and putting a close icon within the header. I connected it to an function so that when I click it, the grid closes and the map resizes: function closeGrid() { esri.hide(datagrid); dojo.style("map", {"height": "100%"}); } <th field="" width="2%"> <div class="GridCloseIcon" title="Close Grid" onclick="closeGrid();"></div> </th>
... View more
12-28-2012
10:31 AM
|
0
|
0
|
671
|
|
POST
|
I've posted a better description of what I'm trying to do over at Stack Overflow. Any help would be appreciated. It seems like the TOC widget might be stepping on some of my HTML, but thats just a wild guess.
... View more
12-21-2012
09:35 AM
|
0
|
0
|
405
|
|
POST
|
In my old app I resized a ContentPane when a search button was clicked with the following code: dojo.style(dijit.byId("map"), "height", "83%"); Now I have wrapped the map div in a dijit.layout.BorderContainer with another content pane. The same code structure doesn't seem to work to be able to resize the entire BorderContainer. Any clues on what I'm missing or how to achieve my goal?
... View more
12-20-2012
04:18 AM
|
0
|
1
|
890
|
|
POST
|
Hi, I want to insert my image instead of titlepane default image, can i do it by modifying my div tag. I am trying the below code but this is not working for me. Could you please help me in this scenario. I don't want to do it by modifying my css <div dojoType="dijit/TitlePane" data-dojo-props="title: '<img src=images/6.0/newdropdown.jpg>';region: 'top'" id='feedContainer' style="width:100%;background:green;text-align:center" > I wound up using dojo.fx to get the look I was going for. A sample from my app is below. Regardless, you'll probably have to tweak the CSS a bit. JS: //Toggles
function basemapToggle() {
toggler = new dojo.fx.Toggler({
node: "basemaptoggle",
showFunc: dojo.fx.wipeIn,
showDuration: 1000,
hideDuration: 1000,
hideFunc: dojo.fx.wipeOut
})
}
dojo.addOnLoad(basemapToggle); HTML: <div id="basemapbutton">
<button dojoType="dijit.form.Button" baseClass="tomButton" title="Switch Basemap">
<img src="images/imgBaseMap.png"/>
<script type="dojo/method" event="onClick">
toggler[(dojo.style("basemaptoggle","display") == "none") ? 'show':'hide']();
</script>
</button>
<div id="basemaptoggle" dojoType="dijit.layout.ContentPane" style="#900;display: none;">
<div id="basemapGallery">
</div>
</div>
</div>
... View more
12-19-2012
10:40 AM
|
0
|
0
|
188
|
|
POST
|
Does anybody have any ideas how to create an X in the top right corner to close a dojox.grid.DataGrid? I figured it would be as easy as styling the X and creating an onclick event similar to: <tr> <td align="right"> <div class="divOk" onclick="dijit.byId('datagrid').hide();"> X</div> </td> </tr> but that doesn't do anything...
... View more
12-19-2012
04:36 AM
|
0
|
2
|
1241
|
|
POST
|
nevermind. I was seriously overthinking it. Just set visible:false when adding the layer.
... View more
12-10-2012
11:13 AM
|
0
|
0
|
590
|
|
POST
|
I'm using the agsjs TOC widget and have a service that I've added that I would like to be turned off by default when map is loaded. I can't seem to gain control of the main "Group" checkbox. There is only one layer in my service and I've set its visible layers so that it is not checked onload, however, the group checkbox is still checked and that controls the visibility, since there is only one layer. If that was clear as mud, I hope the pic I attached explained my issue. I'm trying to have "Sensitive Areas" off by default.
... View more
12-10-2012
10:46 AM
|
0
|
2
|
1025
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-16-2014 09:52 AM | |
| 6 | 06-12-2013 08:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|