Difference Flex between AdvancedDatagrid and DataGrid? Are footer lines supported?

What is the difference between normal DataGrid and AdvancedDatagrid ? Sorting, dragging and dropping columns, resizing columns is supported even in a normal datagrid.

I want to add footer elements like summery, average, etc. each column. Does AdvancedDataGrid support these features?

+4
source share
4 answers

The AdvancedDataGrid control extends the capabilities of the standard DataGrid control to improve data visualization.

One of the most important aspects of the AdvancedDataGrid control is the support for displaying hierarchical and grouped data.

Hierarchical data is data already in the structure of parent and child data elements. Grouped data is flat data without a hierarchy. Before you pass flat data to the AdvancedDataGrid control, you specify one or more data fields that are used to group flat data into a hierarchy.

The Flex 3 DataGrid control supports footer rows, so I'm sure the AdvancedDataGrid control can do the same.

DataGrid footer example

+2
source

http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html

The AdvancedDataGrid control extends the functionality of the standard DataGrid control to add data visualization features to Adobe Flex. These features provide greater control over data display, data aggregation, and data formatting. An AdvancedDataGrid control is similar to a List control, except that it can display more than one column of data, making it suitable for displaying objects with multiple properties.

The AdvancedDataGrid control provides the following functions:

  • Columns of different widths or the same fixed widths.
  • Columns that the user can resize at runtime.
  • Columns that the user can reorder at runtime.
  • Additional custom column headers.
  • The ability to use a custom item renderer for any column to display data other than text.
  • Support for sorting data by clicking on a column.
+1
source

ADG = DG + some nice features

  • With ADG, you can group data based on some grouping criteria, but with DG you cannot. There is also the concept of grouped columns and Grouped element renderings in ADG
  • Using ADG, you can display hierarchical data.
  • ADG provides multi-column sorting, which DG does not.
+1
source

To answer your question for footer support: footer rows are not supported .

Here you can find the function request for the DataGrid : http://bugs.adobe.com/jira/browse/SDK-18563

You can find several solutions for this on the Internet, one of the useful solutions: http://www.vanhulzenonline.nl/techblog/2011/02/21/footer-for-the-advanceddatagrid/

0
source

Source: https://habr.com/ru/post/1310192/


All Articles