Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Enable infinity in HTML Table #56

@marlonmleite

Description

@marlonmleite

Hello,

Is there any way we can easily enable infinity in of a

html?
I tried and fails, Example:

    <table class="table table-striped">
      <thead>
        <tr>
          <th>First Name</th>
          <th>Last Name</th>
          <th>Username</th>
        </tr>
      </thead>
      <tbody id="tableContainer">

      </tbody>
    </table>

    <script type="text/javascript">
        $(function(){
            var $el = $('#tableContainer');
            var listView = new infinity.ListView($el);

            for (var i = 0; i < 1000; i++) {
                var $newContent = $('<tr><td>Mark</td><td>Otto</td><td>@mdo</td></tr>');

                listView.append($newContent);   
            }
        });
    </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions