javascript - Issue in handsontable. If i begin correcting my error cells or update a new cell, cell highlights disappear -


if begin correcting error cells or update new cell, cell highlights disappear.the issue exists if scroll vertically.attached screenshot

you need apply each cell want validate validator :

requiredfieldvalidator = function (value, callback) {     if (!value) {         //adderrordiv(mymessagediv, myerrormessages.required_field);          callback(false);     } else {         callback(true);     } }; 

like :

columns: [     {data: 'firstname', validator: 'requiredfieldvalidator'},     {data: 'lastname', validator: 'requiredfieldvalidator'}, ] 

example : jsfiddle


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -

shared memory - gstreamer shmsrc and shmsink with h264 data -