Select to view content in your preferred language

eSearch problem (older version)

1138
5
Jump to solution
11-27-2012 10:47 AM
DanMiller
Emerging Contributor
Hi guys,

I'm using an older version of eSearch (2.x) in an important custom mapping app and I'm working with Flash Builder/Flex 4.6 to get ready for the move to 3.0 Viewer (after the Holidays).  However, it'd be nice to resolve this problem (in the interim for the client): After obtaining search results into a datagrid (fixed), the datagrid appears too large for its window (for lack of a better term) and overlaps the boundaries of the window when many columns are returned.  How can I set the datagrid's width to not exceed its window?

I am wondering if the solution lies in using a Spark datagrid?  It's probably a quick fix but I'm not good with Spark yet...  Any help would be appreciated.

Here are the uncompiled files in my eSearch widget, and I can post the code if needed:

assets.images
alphaSliderSkin.mxml
ArrayCollectionExtended.as
CollapsiblePanel.as
ExportButtonSkin.mxml
HyperlinkColumn.mxml
joinDataGridColumn.as
ResizeTitleWindow.as
ResizeTitleWindowSkin.mxml
SearchResult.as
SearchResultDataGroup.as
SearchResultItemRenderer.mxml
SearchWidget.mxml
SearchWidget.xml
SearchWidgetFloatDG.mxml
SearchWidgetFloatDGSkin.mxml
TextEnteredEvent.as
TextHeaderRenderer.as
WidgetCloseButtonSkin.mxml
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Dan

Here is what you need to do.

Don't forget to click the Mark as answer check (Step 1) on this post and to click the top arrow (promote)(Step 2).
Follow these steps as shown in the below graphic:

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Dan,

   That issue was fixed so many versions back that I can not remember what I did to fix it. It would take me to much time to go back and try to find what the issue was and the fix for it. Based on the readme.txt this issue was fixed in version 2.5.0.6

Version 2.5.0.6 - 12/21/2011
* Fixed issue where in some circumstances the Fixed Data Grid could
  extend past the applications width.
0 Kudos
DanMiller
Emerging Contributor
Thanks for the response Robert.  Is that version posted on github?  I was thinking I could run a diff on the files which would be a good clue on how to sparkify the datagrid.

Dan
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Dan,

   Looks like you are in luck as my Git-hub project went back as far as 2.5.0.5. I do not believe I sparkified the datagrid until 3.x though.
0 Kudos
DanMiller
Emerging Contributor
Dan,

   Looks like you are in luck as my Git-hub project went back as far as 2.5.0.5. I do not believe I sparkified the datagrid until 3.x though.


Excellent Robert.  I will check it out (assuming that the version is public?). 

I'm new but really loving the Flex Viewer and GIS programming, this is such fun and I really appreciate all of your apps (I've been lurking here for awhile now).

Dan

PS: Do I hit the ^ button for all of your posts in this thread to give you the appropriate credit for an answer?  Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Dan

Here is what you need to do.

Don't forget to click the Mark as answer check (Step 1) on this post and to click the top arrow (promote)(Step 2).
Follow these steps as shown in the below graphic:

0 Kudos