Is there a way to highlight row or value after the edit popover window closed if the value changed?
Thanks a lot.
I had to do this for a previous project. One way would be to create tracking field for each column you need to highlight.
Let's say you have the following json:
[{id:1,amount:100}]
Add field with same name but "changed" on the end for each "tracking" field.
[{id:1,amount:100,AmountChanged:0}]
The amount changed field will be used for the CELLSTYLE function to show as normal when 0 but show highlighted when 1
When the user edits and saves the field, trigger from the onEditableSave(editable-save.bs.table) event -
Use the table edit extension
Thank for your reply.
I tried this to change the value of another field and it worked.
onEditableSave: function (field, row, oldValue, $el) {
$table.bootstrapTable('updateRow', {
index: row.index,
row: {
date_s : '2018/03/06'
}
});
}
But how to highlight a row?
Use the ROWSTYLE . Rowstyle has row as an agrument.. You have access to all values for that row. So it could be something like or'ing the change tracking fields
if (row.AmountChanged || row.SalaryChanged || row.CostChanged).
I think this feature is supported by default:

Close this issue because there is no any response in 7 days, if the problem exists reopen it, thanks!
Is there a way to highlight row or value after the edit popover window closed if the value changed?
Thanks a lot.
Great idea.
How it's possible to do this??