Using GridContainer for managing multiple maps

535
0
08-15-2014 08:49 AM
TracySchloss
Frequent Contributor

We have a project coming up, where one of the 'wish list' items is to be able to dynamically change the number of maps shown, with different content, as well as charts, data etc.  I'm sure they are envisioning some sort of dashboard.   I know I can get it all laid out nicely if  the number of each is a known quantity.  However, sometimes they might just want to see one map, and other times, they might want to see a series of maps, one for each year in a series.  It will vary based on the number of fields that are available for any given layer. 

I'm wondering if anyone has experimented with using something like dojox/layout/GridContainer to manage all the panes.  That would let the user reorder the frames, expand, collapse etc.  I'm looking at the examples from here

http://dojotoolkit.org/reference-guide/1.10/dojox/layout/GridContainer.html#dojox-layout-gridcontain...

I'm hesitant to work with something that is marked experimental, but my early attempts calling the ESRI scripts and styles like

  <link rel="stylesheet" href="https://js.arcgis.com/3.10/js/dojo/dojox/widget/Portlet/Portlet.css">

    <link rel="stylesheet" type="text/css" href="https://js.arcgis.com/3.10/js/dojo/dojox/layout/resources/GridContainer.css">

    <link rel="stylesheet" type="text/css" href="https://js.arcgis.com/3.10/js/dojo/dojox/layout/resources/DndGridContainer.css">

seem to include everything I'm looking for.

I'm I setting myself up for disaster if I decide to use these components in my project?

Tags (1)
0 Kudos
0 Replies