|
![]() |
#1 |
Участник
|
This is not a problem - system doesn't know how to display your container, that's why it populates it it the tree view.
This is redundant: X++: con = [set.pack()]; table.Field= con; X++: table.Field= set.pack(); If you want to display selected items in grid, you will have to create child table and join it with parent using specified key. Child table will contain records with selected list view items. Also you can display rows, creating another list view or tree view, depending on what you need. If you describe the purpose of displaying container in grid in detai, solution can be more obvious
__________________
http://www.axdevposts.blogspot.com Пришел, уведел.... отойди, дай другому увидеть! |
|
![]() |
#2 |
Участник
|
I don't use child table, because I have more ListViews with different data. Example, I select 3 rows from ListView 1, and example 1 row from ListView2. And than I get in table following:
X++: id Field 1.....................Field2 1 ListView1<field> 2 ListView1<field> 3 ListView1<field> 4..................................ListView2<field> Maybe are different way to solve this? Последний раз редактировалось Kent; 04.09.2009 в 12:38. |
|
![]() |
#3 |
Moderator
|
May be convert your container to string with using function Global::con2str? And then use display method for showing result string in grid. Before showing result string can be arranged with some additional chars, just like LF, CR etc.
|
|
Теги |
container, grid |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|