Pergunta

Solved, It's a known bug, see below!

Thought to implement handsontable for various spreadsheet like duties. but I'm stuck on the decimal places, when altering the cells.

http://handsontable.com/demo/numeric.html (doesn't work in my implementation, nor in the example. at least consistent :)

If you change values in the decimal places they eventually add positions in front of the dot or comma (either $ or EU).

Edit1 i.e. if you change the 7000 for mercedes to 7000.01 it actually makes it 700001(.00)

Edit2 Getting even more precise. Not working on FF21, chrome27, nor IE8 (company nb...)

Does anybody have a clue?

Foi útil?

Solução

Unfortunately, it appears you have come across a know issue/bug, still open, with the current version.

See these issues:

https://github.com/warpech/jquery-handsontable/issues/751

https://github.com/warpech/jquery-handsontable/issues/464

Try removing the language option if you don't need 'de-de' as this seems to work for me. Otherwise, you could possibly try your own custom column renderer, or similar, as a workaround.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top