It was solved with /"width="150" maxWidth="250"/ in flex.

"Manage"  is nested component in adg:

<mx:AdvancedDataGridColumn headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" id="mngColumn">
                    <mx:itemRenderer>
                        <fx:Component>
<jobdetail:PinaraJobListGridManageColumn selectedGroupId="1" /> <!--RO: {outerDocument.selectedGroupId} -->
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>


PinaraJobListGridManageColumn  is MXAdvancedDataGridItemRenderer

<?xml version="1.0" encoding="utf-8"?>
<s:MXAdvancedDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009";
                    xmlns:s="library://ns.apache.org/royale/spark"
                    clipAndEnableScrolling="true"
                    xmlns:mx="library://ns.apache.org/royale/mx" xmlns:jobmanager="com.likya.pinara.services.jobmanager.*"
xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>

    <fx:Script>
        <![CDATA[

            [Bindable]
            public var selectedGroupId:String;

        ]]>
    </fx:Script>

    <jobdetail:ManageButtonGroup id="manageButtonGroup" data="{data}" selectedGroupId="{selectedGroupId}" />

</s:MXAdvancedDataGridItemRenderer>

I do not want to play with css for now. How can I do it with ScrollPolicy or may be it is better to change height while scroll bar is displayed ?

Thanks
Serkan

8.06.2020 19:05 tarihinde Alex Harui yazdı:

What is the renderer for the Manage column?  If you don’t need scrollbars you should be able to turn them off either via ScrollPolicy or via custom CSS.

*From: *serkan <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Monday, June 8, 2020 at 8:13 AM
*To: *"[email protected]" <[email protected]>
*Subject: *hscroll bar for adg hides the content

Hi,

for the "Manage" column the scroll bar hides the content.



should have been something like that :



if it is not a simple case i may create an issue.

Thanks,
Serkan


Reply via email to