Hello,
By default i have set all my table row in readOnly true, and when I click on one row this one have to be set on readOnly false.
I have make a function in afterSelection callback for do this and it’s work :
afterSelection: function(row, col) {
if(countClick === 0 && editIsActive === true) {
currentRow = row;
hot.updateSettings({
cells: function (row, col, prop) {
var cellProperties = {};
if (row == currentRow) {
cellProperties.readOnly = false;
}
return cellProperties;
}
});
}
countClick++;
},
But I have some trouble with this function because when in apply filter on the table this function :
afterSelection: function(row, col)
not take the same index as this function :
cells: function (row, col, prop)
I hope you understand my problem, and I’m sorry for my bad english
thanks in advance
Cordialy
Tanguy