Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Multiple DataGrids in a ListView #68

Open
enryb opened this issue Feb 8, 2018 · 1 comment
Open

Multiple DataGrids in a ListView #68

enryb opened this issue Feb 8, 2018 · 1 comment

Comments

@enryb
Copy link

enryb commented Feb 8, 2018

Hello,
I tried to put mor than a Datagrid in a ListView, but when data changes app crashes. I found that the exception thrown is because Datagrid uses ListView and it is not possible to use a nested ListView.

I like it was possible to use multiple DataGrids in a ListView.

My situation is:
Class A {
string Title {get; set;}
B subprojects {get; set;}
}

Class B {
DateTime Date {get; set;}
string Name {get; set;}
}

and I like to render lots of A objects like:

LABEL: TITLE

DATAGRID(Columns: B.Date, B.Name).

Can you make it possible?

Thanks,
enryb

@anovik
Copy link

anovik commented Feb 14, 2018

I think you can use TabbedPage instead of your ListView to have one Datagrid per tab, will it solve your problem? Then you can have Label as Tab title and grid as the content of tab.

Anyway, you won't be able to have Listview inside Listview.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants