Correcion en rastreo
This commit is contained in:
@@ -2572,13 +2572,13 @@
|
||||
});
|
||||
|
||||
}
|
||||
var indiceAnterior = 0;
|
||||
function CargaDatosSeleccionados(indice, valor) {
|
||||
var indiceAnteriorPI = 0;
|
||||
function CargaDatosSeleccionadosPI(indice, valor) {
|
||||
var columnaSeleccionada = 2 + indice;
|
||||
$('#HdnGrupo').val(valor);
|
||||
$('#C_GvGrupos tr').filter(':nth-child(' + indiceAnterior + ')').css('background-color', 'initial');
|
||||
$('#C_GvGrupos tr').filter(':nth-child(' + columnaSeleccionada + ')').css('background-color', '#F5B27A');
|
||||
indiceAnterior = columnaSeleccionada;
|
||||
indiceAnteriorPI = columnaSeleccionada;
|
||||
}
|
||||
|
||||
function CambiaTipo(Tipo) {
|
||||
|
||||
@@ -2190,7 +2190,7 @@ Partial Class GPS_Rastreo
|
||||
|
||||
Protected Sub GvGrupos_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvGrupos.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
e.Row.Attributes.Add("onClick", $"CargaDatosSeleccionados({e.Row.RowIndex}, '{e.Row.DBCampo("CvePuntoDeInteresGrupo").ToString}');")
|
||||
e.Row.Attributes.Add("onClick", $"CargaDatosSeleccionadosPI({e.Row.RowIndex}, '{e.Row.DBCampo("CvePuntoDeInteresGrupo").ToString}');")
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user