BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<ej:Grid ID="FlatGrid" runat="server" AllowPaging="True"
AllowSelection="True" Selectiontype="Multiple" >
<SelectionSettings EnableToggle ="true" />
<ClientSideEvents RowDataBound="rowDataBound" />
<Columns>
<ej:Column Field="Id" HeaderText="Order ID" Width="90" IsPrimaryKey="True" Visible="false" />
. . .
</Columns>
</ej:Grid>
</div>
<script>
function rowDataBound(args) {
if (args.data.Qty == "Qty4") {
args.row.css("backgroundColor", "#F3C3C3").css("color", "black");/*custom css applied to the row */
}
else if (args.data.Qty == "Qty6") {
args.row.css("backgroundColor", "#98FB98").css("color", "black");/*custom css applied to the row */
}
}
</script> |