[ 
https://issues.apache.org/jira/browse/FLEX-33328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538276#comment-13538276
 ] 

Carol Frampton commented on FLEX-33328:
---------------------------------------

Here is a small sample program:

<s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009"; 
    xmlns:s="library://ns.adobe.com/flex/spark">
    
        <s:controlBarContent>          
            <s:Form>
                <s:layout>
                    <s:FormLayout gap="-14"/>
                </s:layout>         
                <s:FormItem label="lockedRowCount:">
                    <s:NumericStepper id="lockedRowNS" minimum="0" 
maximum="{dataGrid.dataProvider.length}"/>                             
                </s:FormItem>
                <s:FormItem label="lockedColumnCount:">
                    <s:NumericStepper id="lockedColumnNS" minimum="0" 
maximum="{dataGrid.columns.length}"/>
                </s:FormItem>
                <s:FormItem label="multiColumnSortingEnabled:">
                    <s:CheckBox id="sortCB" 
selected="{dataGrid.multiColumnSortingEnabled}"/>                
               </s:FormItem>
            </s:Form>
        </s:controlBarContent>
    
        <s:DataGrid id="dataGrid" verticalCenter="0" horizontalCenter="0" 
                    requestedRowCount="5" 
                    sortableColumns="true" 
                    lockedRowCount="{lockedRowNS.value}" 
lockedColumnCount="{lockedColumnNS.value}"
                    multiColumnSortingEnabled="{sortCB.selected}">
            <s:ArrayCollection>
                <s:DataItem key="1000" name="Abrasive" price="100.11" 
call="false"/>
                <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>
                <s:DataItem key="1002" name="Clamp" price="120.02" 
call="false"/>
                <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>
                <s:DataItem key="1004" name="Epoxy" price="140.04" 
call="false"/>
                <s:DataItem key="1005" name="File" price="150.05" call="true"/>
                <s:DataItem key="1006" name="Gouge" price="160.06" 
call="false"/>
                <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>
                <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>
                <s:DataItem key="1009" name="Jack" price="190.09" call="true"/> 
            
            </s:ArrayCollection>
        </s:DataGrid>
</s:Application>

                
> Merge Adobe.next changes into spark DataGrid
> --------------------------------------------
>
>                 Key: FLEX-33328
>                 URL: https://issues.apache.org/jira/browse/FLEX-33328
>             Project: Apache Flex
>          Issue Type: Task
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex Next
>            Reporter: Carol Frampton
>            Assignee: Carol Frampton
>
> Merge spark DataGrid bug fixes and new features from Adobe.next to Apache 
> code base.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to