--Ordenamiento en scroll fijo
This commit is contained in:
@@ -165,18 +165,18 @@ table.adssigscroll {
|
|||||||
background-color: inherit; /* Para que no se superponga con otros elementos */
|
background-color: inherit; /* Para que no se superponga con otros elementos */
|
||||||
z-index: 4; /* Asegura que esté sobre otros elementos */
|
z-index: 4; /* Asegura que esté sobre otros elementos */
|
||||||
}
|
}
|
||||||
.tr_order > th::after {
|
.tr_order tr > th::after {
|
||||||
content: "\f0dc";
|
content: "\f0dc";
|
||||||
font:normal normal normal 14px / 1 FontAwesome;
|
font:normal normal normal 14px / 1 FontAwesome;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: #32A1CF;
|
color: #32A1CF;
|
||||||
}
|
}
|
||||||
.tr_order > th.asce::after {
|
.tr_order tr > th.asce::after {
|
||||||
content: "\f0de";
|
content: "\f0de";
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order > th.desc::after {
|
.tr_order tr > th.desc::after {
|
||||||
content: "\f0dd";
|
content: "\f0dd";
|
||||||
}
|
}
|
||||||
/*END ScrollADS V2*/
|
/*END ScrollADS V2*/
|
||||||
@@ -353,8 +353,7 @@ table.adssigscroll {
|
|||||||
|
|
||||||
<div class="divContainerads">
|
<div class="divContainerads">
|
||||||
<asp:GridView ID="GvDatos" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="True" ShowHeaderWhenEmpty="true"
|
<asp:GridView ID="GvDatos" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="True" ShowHeaderWhenEmpty="true"
|
||||||
DataKeyNames="CvePS" CssClass="adssigscrollJS table table-striped table-advance table-hover " data-cols="2" data-rows="2" data-heightmenos="300" GridLines="None" >
|
DataKeyNames="CvePS" CssClass="adssigscrollJS tr_order table table-striped table-advance table-hover " data-cols="2" data-rows="2" data-heightmenos="300" GridLines="None" >
|
||||||
<HeaderStyle CssClass="tr_order" />
|
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px">
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
|
|||||||
@@ -481,7 +481,7 @@ table#${Tid}.adssigscroll tr:nth-child(${numberitem}) { top: ${top}px; }`;
|
|||||||
|
|
||||||
}
|
}
|
||||||
function LoadSortSticky() {
|
function LoadSortSticky() {
|
||||||
$('body').on('click', 'table.adssigscroll tr.tr_order:not(.tsorterblock) > th ,table.adssigscroll tr.tr_order:not(.tsorterblock) > td ', function (e) {
|
$('body').on('click', 'table.adssigscroll.tr_order tr:not(.tsorterblock) > th ', function (e) {
|
||||||
var tthis = $(this);
|
var tthis = $(this);
|
||||||
if (tthis.closest('.NoClick').length == 0 && !($(e.target).is('a,input'))) {
|
if (tthis.closest('.NoClick').length == 0 && !($(e.target).is('a,input'))) {
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ table.adssigscroll {
|
|||||||
z-index: 4; /* Asegura que est<73> sobre otros elementos */
|
z-index: 4; /* Asegura que est<73> sobre otros elementos */
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order > th::after {
|
.tr_order tr > th::after {
|
||||||
content: "\f0dc";
|
content: "\f0dc";
|
||||||
font: normal normal normal 14px / 1 FontAwesome;
|
font: normal normal normal 14px / 1 FontAwesome;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -65,11 +65,11 @@ table.adssigscroll {
|
|||||||
color: #32A1CF;
|
color: #32A1CF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order > th.asce::after {
|
.tr_order tr > th.asce::after {
|
||||||
content: "\f0de";
|
content: "\f0de";
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order > th.desc::after {
|
.tr_order tr > th.desc::after {
|
||||||
content: "\f0dd";
|
content: "\f0dd";
|
||||||
}
|
}
|
||||||
/*END ScrollADS V2*/
|
/*END ScrollADS V2*/
|
||||||
|
|||||||
Reference in New Issue
Block a user