hyojin / material-ui-datatables

An another React Data tables component.
MIT License
165 stars 58 forks source link

Pagination not working! #49

Open dragon-spear opened 7 years ago

dragon-spear commented 7 years ago

I have uses sample code of Readme. but it's not working about pagination. if data count is 100, all data is displayed. plz help me.

apguan commented 7 years ago

I'm having the same issues

waqaskhan-zs commented 7 years ago
<DataTables
          height={'auto'}
          columns={TABLE_COLUMNS}
          data={TABLE_DATA}
          selectedRows={this.state.selected}
          onRowSelection={this.rowSelection}
          showRowHover
          multiSelectable
          selectable
          showCheckboxes
          count={this.state.total}
          page={10}
          onRowSizeChange={this.onRowSizeChange}
          onNextPageClick={this.onNextPage}
          onPreviousPageClick={this.onPrevPage}
          rowSize={100}
        />

try this an pagination would work.