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 Tue, 10 Jan 2017 09:26:58 GMT

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

Pan Li commented on FLEX-35224:
-------------------------------

1 Peter, I think I still need to create PagingDataGrid because there is no place to put overriding
of beads, some of them can only be in css,  for example DataGridModel crush in <js:beads/>
to override the css I think it is better to have a new tag and set its default in css, because
it is confusing to override the needed beads in client code using the custom control 
{code}
js|PagingDataGrid
{
	IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
	IBeadView: ClassReference("org.apache.flex.html.beads.PagingDataGridView");
	IBeadModel: ClassReference("org.apache.flex.html.beads.models.PagingDataGridModel");
	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.PagingDataGridLayout");
	
	background-color: #FFFFFF;
	border-style: solid;
	border-color: #222222;
	border-width: 1px;
}
{code}

2 I have another problem:
I need to override DataGridPresentationModel by 
{code}
js|DataGridColumnList {
	IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.PagingDataItemRendererFactoryForArrayList");
}
{code}
or declare PagingDataItemRendererFactoryForArrayList as a tag in basic-manifest.xml and 
{code}
	<js:PagingDataGrid id="dataGrid" pageSize="2" x="20" y="30" width="600" height="300" change="dataGridChange()"
rowHeight="30">
		<js:beads>
            <js:DataGridPresentationModel/>
{code}
are there some method to override these beads instead of asking code using the control to
carefully put these overriding correct?


3
for updating items dynamically, since we are other requirements on data grids and Santanu
are working on making datagrid avoid full recreate on data changing. I think I better leave
it for later improvement.
 

> 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: FilesOfPagingDataGridUsingBeads.zip, PagingDataGridAsBeads.patch,
TestPagingDataUsingBeads.zip, 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
(v6.3.4#6332)

Mime
View raw message