I need to merge the cells as shown in the picture:
相关问题
- WPF DataGrid - row for new entry not visible
- How to delete row datagrid and update SQL database
- Accessing the WPF DataGrid “empty” or “rowcolumn”
- Why wont my column sort in a winforms .NET datagri
- Using WPFToolKit's DataGridHyperlinkColumn
相关文章
- Unreasonable WPF DataGrid Loading Time
- How to programmatically access a datagrid row deta
- Add custom tooltip to row in DataGrid
- How to disable the 'Select All' button of
- DataGrid cell single click edit mode in wpf c#?
- C# - How to pass the data from dataGridView1 to an
- Automatic tooltip when text is trimmed in DataGrid
- Prevent re-sorting datagrid after editing cell
Flex (in my understanding) does not directly provide this. You have a few options.
Either way, you may need to arrange your data in a hierarchical model. (Parent with 3 children appears to describe your question)
The first option I see would involve directly declaring your data as hierarchical to the advanceddatagrid. If you search for hierarchical advanceddatagrid you should be able to find tutorials online.
Alternatively, you may desire to always have the data show, and not only when you expand the parent. In this case, you will still need the hierarchical model, but you will have to create a custom itemrenderer able to represent all of the children data for one parent object. (an itemrenderer with three labels in a VBox/VGroup would work for the example you've given)
If these don't help, or you would like more detail on one solution or the other, feel free to ask in a comment.
EDIT::
As an example of the itemrenderer, here's the source of a similar itemrenderer I've used. (mine only populates two labels, but you should be able to extend it if you understand what it's doing)
I removed a lot of proprietary code, so if it doesn't make any sense let me know.
This is intended to be reusable, hence the value[myListData.dataField], but if you want you can easily make it a lot more specific by defining the fields yourself. This particular code expects the data in the following format, for example:
Object has: