dimanche 27 août 2017

Hortizontal table scroll with angular

I'm new with Angular and I'm developing a Twitter web application. I have in a table a set of user accounts. For each account in the first column I have the account name and a short description of it. But in the rest of the columns I need to put the account tweets, but It has to see all the tweets and the best way is making a horizontal scroll.

So, how i can do this with Angular? At the moment I have thought that a good begining is put the tweets in a new table within the second column.

<table class="table table-bordered table-hover table-striped">
                    <tr>
                        <td>
                            <b> Account 1 </b><br/>
                            Description.
                        </td>
                        <td>
                            <table class="table table-hover table-striped">
                                <td>
                                    Tweet 1
                                </td>
                                <td>
                                    Tweet 2
                                </td>
                                <td>
                                    Tweet 3
                                </td>
                                <td>
                                    Tweet 4
                                </td>
                                <td>
                                    Tweet 5
                                </td>
                            </table>
                        </td>
                    </tr>
                </table>



Aucun commentaire:

Enregistrer un commentaire