Comments (4)
I was able to achieve the desired result using the following:
onChange: function (data) {
if (first) {
first = false;
return;
}
$("#dataTable-console").text(JSON.stringify(data));
var newValue = data[0][3];
alert(newValue);
if(isNaN(newValue)) {
alert("only numbers allowed!");
alert(data[0][0] + '\t' + data[0][1] + '\t' + data[0][2]);
$("#dataTable").handsontable("setDataAtCell",data[0][0], data[0][1], data[0][2]);
}
}
});
from handsontable.
The latest code changes seems to have broken the "setDataAtCell" method above. The data remains what was entered, even with text.
from handsontable.
You are right gatesh, thanks for noticing. I submitted a fix. Please check again
from handsontable.
Thanks, warpech! Works great now.
from handsontable.
Related Issues (20)
- [Bug]: rowHeaders insert row above bug HOT 3
- [Bug]: React / Nested Rows / Nested row collapse status resets when props are passed from parent to child HOT 1
- [Bug]: When a specific row height is set and "wordWrap" is enabled, the row height can still change dynamically based on the content. HOT 2
- [Bug]: Missing cell borders HOT 1
- [Bug]: Installed 14.2 but having performance and display issue not seen with 13.0, also had to convert to ES5 HOT 16
- [Bug]: vue2 insert column disable? HOT 5
- How can i get the older version document, such as v6,v7? HOT 4
- [Bug]: Multiple sorting resets on the fifth click HOT 2
- [Bug]: custom rendorer called multiple times and did dom manipulation creating a slow performance and row misalignment HOT 1
- [Bug]: cell editor doesn't switch as intended on tab navigation between cells HOT 1
- [Bug]: Table crashes when entering a number value with a space between negative symbol and numbers HOT 1
- [Bug]: Vue 3 composition API ref error HOT 9
- Handsontable 14.3.0 is here!
- [Bug]: A bug caused by sheetRename HOT 1
- [Bug]: Property 'prototype' does not exist on type 'BaseEditor' HOT 7
- [Bug]: The bug about the ROUND function in the formula, why 21.9/0.2, keeping 0 decimal places, will get 109? In theory, the ROUND function should be rounded to 110. HOT 3
- [Bug]: In vue2, when using HotColumn slot, there is no readonly html style HOT 5
- [Bug]: Object array data source causes spliceRow call error: rowData.slice is not a function HOT 2
- [Bug]: How can the handsonTable component freeze columns on both sides HOT 3
- [Bug]: Context Menu: long texts are truncated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handsontable.