This commit is contained in:
HECTOR RODRIGUEZ
2021-04-21 00:31:38 -07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1046,7 +1046,7 @@
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvIncons.ClientID) %>" style="margin-top: -3px; margin-left: -13px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
</div>
</div>
<asp:GridView ID="GvIncons" runat="server" CssClass="table table-striped table-advance table-hover Widthall ScrollAD mysmallbtn" GridLines="None">
<asp:GridView ID="GvIncons" runat="server" CssClass="table table-striped table-advance table-hover Widthall ScrollAD mysmallbtn" GridLines="None" EmptyDataText="Felicidades, lo lograste, no tienes inconsistencias">
</asp:GridView>
<div class="modal-footer">
<asp:UpdatePanel runat="server">

View File

@@ -1667,18 +1667,18 @@ function loadsortadscroll() {
mapped.sort(function (a, b) {
return (+(a.value > b.value) || +(a.value === b.value) - 1) * multiplicador;
});
tthis.closest('tr').find('th').data('tipodato', 'string')
//tthis.closest('tr').find('th').data('tipodato', 'string')
} else {
if (tipodate == 1) {
mapped.sort(function (a, b) {
return (+(a.valued > b.valued) || +(a.valued === b.valued) - 1) * multiplicador;
});
tthis.closest('tr').find('th').data('tipodato', 'date')
//tthis.closest('tr').find('th').data('tipodato', 'date')
} else {
mapped.sort(function (a, b) {
return (+(a.valuen > b.valuen) || +(a.valuen === b.valuen) - 1) * multiplicador;
});
tthis.closest('tr').find('th').data('tipodato', 'numeric')
//tthis.closest('tr').find('th').data('tipodato', 'numeric')
}
}
mapped.each(function (i, el) {