Select to view content in your preferred language

Help to fix the white space between the datagrid scrollbars. Thanks!

2299
5
09-29-2010 03:19 PM
cristiBJ
Deactivated User
This is done by using sample viewer.
Now I added vertical and horizontal scroll bars. Since the background is black, there is a white block between the scroll bars.  Please see attached.

How can I make the white block the same color as the background? I tried to set backgroundcolor for the datagrid but it didnot work.

Thanks in advance.

Part of the code is here:
<mx:VBox width="100%" height="100%" verticalGap="1"  horizontalGap="2" verticalScrollPolicy="on" horizontalScrollPolicy="auto" backgroundColor="gray"> <!-- horizontalScrollPolicy="on" -->
   
    <mx:HBox id="boxMessage" visible="{msgVisible}" includeInLayout="{msgVisible}" width="100%">
     <mx:SWFLoader id="swfMessage" source="com/esri/solutions/flexviewer/assets/flash/loader.swf" visible="false" />
     <mx:Text id="txtMessage" text="" styleName="WidgetText" width="90%"/>
    </mx:HBox>
   
     
    <mx:Repeater id="wRepeaterDisplay" width="100%" >
           <myWidgets:ParcelRecordData_Identify infoData="{wRepeaterDisplay.currentItem}" mouseOver="mouseOverRecord(event)"
      mouseOut="mouseOutRecord()" click="selectLocation(event)" valueSet="valueSetHandler(event)" paddingTop="5"/>
    
    </mx:Repeater>
   
          <mx:DataGrid id="dParams" rowCount="23" visible="false" width="399"  click="clickRecord(event)" showHeaders="false" backgroundColor="#cccccc">
                <mx:columns>
                   <mx:DataGridColumn dataField="key" headerText="Property" width="152" />
                   <mx:DataGridColumn dataField="value" wordWrap="true" headerText="Value" width="270" />
               </mx:columns>
          </mx:DataGrid>
   </mx:VBox>
Tags (2)
0 Kudos
5 Replies
cristiBJ
Deactivated User
Anyone can help here?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
cristiBJ
Deactivated User
You helped me out again.  Thank you ...
0 Kudos
cristiBJ
Deactivated User
The first link is blocked by our company websense.
I tried the 3rd one but it did not work.
The second link works for me. It was easy to implement into our sampleviewer project.
Thanks again.
0 Kudos
BradChranko
Deactivated User
Hi Christi and Robert-

I'd like to know which identify widget was used in this example, the one with the print option.  I'm looking for a way to print a datagrid upon a search/query.  Is there a widget out there or is it something that has to be customized.

Thanks,

Brad.
0 Kudos