qyqx / j-table

Automatically exported from code.google.com/p/j-table
0 stars 0 forks source link

recalculate datatypes on cell edit #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
currently we always recalculate column datatypes when a cell has finished
being edited. this is O(n rows), we can change to O(1) in many cases.

e.g. no need to recalculate if 
* current datatype is string and cell datatype is also string
* datatype is number and cell datatype is also number
* datatype is currency and cell datatype is also currency

warning: what happens if all are numbers except for current cell which was
string, but has been edited to number?

Original issue reported on code.google.com by chris.f....@gmail.com on 26 Jul 2008 at 11:10

GoogleCodeExporter commented 8 years ago
datatypes have changed now we're using tinysort()

Original comment by chris.f....@gmail.com on 10 Oct 2008 at 8:42

GoogleCodeExporter commented 8 years ago

Original comment by chris.f....@gmail.com on 10 Oct 2008 at 8:43