Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixing Cell and Item in the TableView Does not Work #29

Open
cancan101 opened this issue Oct 29, 2015 · 8 comments
Open

Mixing Cell and Item in the TableView Does not Work #29

cancan101 opened this issue Oct 29, 2015 · 8 comments

Comments

@cancan101
Copy link
Contributor

I have:

                    <TableView style={{flex: 1, paddingTop: 20}}>
                        <Section label="Section 1">
                            <Cell><Text>Item 1</Text></Cell>
                        </Section>

                        <Section label="Section 2">
                            <Item>Item 2</Item>
                        </Section>
                    </TableView>

but all I see is:
image

If I remove <Cell><Text>Item 1</Text></Cell> then the "Item 2" shows up:
image

@aksonov
Copy link
Owner

aksonov commented Oct 30, 2015

@Nathan-Smith Could you look at it? I saw your PR recently, it looks related...

@aksonov
Copy link
Owner

aksonov commented Oct 30, 2015

Maybe it was not published to npm yet, please check 1.4.1 version.

@cancan101
Copy link
Contributor Author

I pulled 1.4.1 which seems to fix the issue with Cell not working with Item in different sections but I have issues with them in the same section:

                        <Section label="Section 1">
                            <Item>Item 0</Item>
                            <Cell><Text>Item 1</Text></Cell>
                            <Item>Item 2</Item>
                        </Section>

shows as:
image

@aksonov
Copy link
Owner

aksonov commented Oct 30, 2015

It is not supported.

@cancan101
Copy link
Contributor Author

By IOS or just by react-native-tableview ?

@aksonov
Copy link
Owner

aksonov commented Oct 30, 2015

By react-native-tableview

@cancan101
Copy link
Contributor Author

Okay. Can we leave this issue then as a feature request for that? Also maybe add note in README?

@cancan101
Copy link
Contributor Author

@aksonov Any info on why this doesn't work right now? i.e. if I wanted to take a look at this, where would I start?

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

No branches or pull requests

2 participants