David-Mulder / paper-datatable

A material design implementation of a data table.
GNU General Public License v3.0
237 stars 92 forks source link

Make paper-datatable work without needing the number of rows / datasource length ? #101

Open cstavaru opened 8 years ago

cstavaru commented 8 years ago

Sometimes (in fact, many times in production) obtaining the total number of rows in a table is an expensive operation, and also that number is not very accurate either (new rows can be appended to the table in real time). Is there any way to make this element work with a datasource of unknown size ? Maybe just put "Next Page/Prev Page" on the bottom navigation bar, and just never rely on knowing the actual number of rows within the code ?