Used to enable highlighting a line in the DataGrid mouse selection, this program is convenient for users when the contents of DataGrid are more.
Var Backcol
Var currcol = "# fff99"
Function Currstyle (OBJ)
{
Var i
For (i = 0; i
{
IF (Document.all ("DataGrid1"). Rows (i) .Style.BackgroundColor == Currcol)
{
Document.all ("DataGrid1"). Rows (i) .Style.BackgroundColor = Backcol
}
}
Backcol = Obj.Style.BackgroundColor
Obj.Style.BackgroundColor = currcol
}
script>