BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Old Value | New Value |
100g | 200g |
Sugar | Sugar |
White | Brown |
$5 | $2 |
Available | Available |
<ejs-grid id="Grid" dataSource="ViewBag.dataSource" allowPaging="true" rowDataBound="rowDataBound">
<e-grid-columns>
<e-grid-column field="OldValue" headerText="OldValue" width="90"></e-grid-column>
<e-grid-column field="NewValue" headerText="NewValue" width="90"></e-grid-column>
</e-grid-columns>
</ejs-grid>
<style>
.e-grid td.e-rowcell.differentValue {
color: red;
}
</style>
<script>
function rowDataBound(args){
if (args.data.OldValue != args.data.NewValue)
args.row.lastChild.classList.add('differentValue')
}
</script>
|