flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pan Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35224) DataGrid doesn't support paging on large data set
Date Thu, 29 Dec 2016 09:40:58 GMT

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

Pan Li commented on FLEX-35224:

I had created one paging grid as a FlexJS mxml, the basic structure:
the component 
                      private var _columns:Array;
                      private var _dataProvider:Object;
                      function processPage()
                          datagrid.dataProvider = _dataProvider;
<js:ConstantBinding source is column of customer control, target is provider.column/>


use the control, same to normal datagrid
					destinationPropertyName="dataProvider" />
				<js:DataGridColumn label="Image" dataField="image" columnWidth="30" itemRenderer="products.ProductItemRenderer"
				<js:DataGridColumn label="Title" dataField="title" columnWidth="20" />
				<js:DataGridColumn label="Sales" dataField="sales" columnWidth="30" />

the full source (control with sample code to use it):

> DataGrid doesn't support paging on large data set
> -------------------------------------------------
>                 Key: FLEX-35224
>                 URL: https://issues.apache.org/jira/browse/FLEX-35224
>             Project: Apache Flex
>          Issue Type: Improvement
>            Reporter: Pan Li
>            Priority: Minor
>         Attachments: screenshot-1.png, src.zip
> expected:
> Gird should support paging if data collection is large
> !screenshot-1.png!

This message was sent by Atlassian JIRA

View raw message