Select to view content in your preferred language

Scroll option for Robert's Identify widget?

3722
17
11-01-2011 06:56 AM
SheriNorton
Frequent Contributor
Is there a way to enable a vertical scroll bar in the Results in Robert's Identify widget? My mouse has a middle "scroll" button, but other users many not have that capability. The additional results are cut off without a control to let the user see all the contents of the Results.

Attached is an example of cut off records...
Tags (2)
0 Kudos
17 Replies
DanielMunoz
Regular Contributor
Hi Robert,

I'm experiencing the same issue with the identify tool, I went to your site:

http://gis.calhouncounty.org/FlexViewer2.5/index.html?config=config-identify.xml

the issue is there also, the scroll bars are there the first time you open the tool, if you close the tool and re-open it the scroll bars disappear, FYI the older version you mention earlier in this thread:

http://gis.calhouncounty.org/FlexVie...g-identify.xml

doesn't have the issue, FYI I noticed the new version does not remember the identify features from the previous click but the older version does.

Daniel
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,

   This seems to be a bug in the DataGroup or Scroller and has a VERY simple fix that does not even require any code change. All you need to do is set the height of the widget to 210 verses the 200 that is default.

<widget label="Identify" left="330" top="80" preload="open"
                icon="assets/images/i_info.png" height="210"
                config="widgets/Identify/IdentifyWidget.xml"
                url="widgets/Identify/IdentifyWidget.swf"/>


As far as when the widget opens back up there are no longer any of the old results, that is by design now.
0 Kudos
DanielMunoz
Regular Contributor
Robert,

Thank you for your fast response unfortunately that didn't do the trick, I also tried changing the height directly on the IdentifyWidget.mxml and checked with different browsers with no luck. Any other suggestions I could try?

Daniel
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,

   If you test my live site that did fix the issue... Try resizing the widget after it appears with now vertical scrollbar and see if they do appear.
0 Kudos
DanielMunoz
Regular Contributor
Robert. definitely a weird bug, re-sizing the widget didn't force the scroll bars to come up, interestingly enough I tried your site and it worked but only until I re-size the widget the scroll bars disappear after reopening the widget. Daniel
0 Kudos
by Anonymous User
Not applicable
When the identify widget is opened for the first time the scroll bar is visible but if the widget is closed and reopened and a selection is made the scrollbar is not available.  The only way to make the scrollbar available again is by making the widget larger.  I've tried to mess around with the height on the component thinking there's a mathematical error when calculating the need to show the scroller. I've been unsuccessful.  Has anyone found a resolve to this issue???

[ATTACH=CONFIG]14231[/ATTACH]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Joshua,

   There is no math in my code for adding the scrollbar all that is handled by Adobe Flex SDK and the Scroller component. I have seen this issue sporadically with datagroups that use custom item renderers like my identify widget uses and there seems to be nothing I can do to get around this bug in my code. Sorry I am not able to offer any help on this. The only workaround I have found is to have individuals that experience this issue to set the widgets height in the main config.xml until they find a height that work for them.
0 Kudos
PatricioGuerrero
New Contributor
Hi all,

I had the same problem and solved by resizing to 310. I guess we will have to play with the widget height.
0 Kudos