I was wondering why the variable numberOfRows in TableData class is not initialized when a new TableData object is created.
It seems to me that it should be set there, either with the number of loaded rows or the actual data[x].length.
Is there any reason to prevent from initiliazing it like this ?
Hello,
I was wondering why the variable
numberOfRows
inTableData
class is not initialized when a newTableData
object is created. It seems to me that it should be set there, either with the number of loaded rows or the actual data[x].length.Is there any reason to prevent from initiliazing it like this ?
Thanks, Rémy.