Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -82,8 +82,72 @@
|
||||
/* .trh{
|
||||
max-height:31px!important;
|
||||
}*/
|
||||
.Totales, .table-striped > tbody > tr.Totales {
|
||||
background: rgb(158 169 190) !important;
|
||||
}
|
||||
|
||||
.divContainerads {
|
||||
width: 100%;
|
||||
max-height: calc(100vh - 260px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
table.adssigscroll {
|
||||
min-width: 100%;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
table.adssigscroll tbody,table.adssigscroll thead{
|
||||
background-color:#fff;
|
||||
}
|
||||
table.adssigscroll tr{
|
||||
background-color:inherit;
|
||||
}
|
||||
|
||||
table.adssigscroll tr,
|
||||
table.adssigscroll tr td {
|
||||
/*visibility: hidden;*/
|
||||
}
|
||||
|
||||
table.adssigscroll tr:nth-child(1),
|
||||
table.adssigscroll tr:nth-child(2) {
|
||||
position: sticky;
|
||||
top: 0; /* Se mantiene pegado en la parte superior */
|
||||
background-color: inherit; /* Para que no se superponga con otros elementos */
|
||||
z-index: 4; /* Asegura que esté sobre otros elementos */
|
||||
}
|
||||
table.adssigscroll tr:nth-child(1) th:nth-child(1),table.adssigscroll tr:nth-child(1) th:nth-child(2),
|
||||
table.adssigscroll tr:nth-child(2) td:nth-child(1),table.adssigscroll tr:nth-child(2) td:nth-child(2) {
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
table.adssigscroll tr:nth-child(2) {
|
||||
top: 26.14px;
|
||||
}
|
||||
|
||||
table.adssigscroll tr td:nth-child(1),table.adssigscroll tr th:nth-child(1),
|
||||
table.adssigscroll tr td:nth-child(2),table.adssigscroll tr th:nth-child(2) {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
table.adssigscroll tr td:nth-child(1), table.adssigscroll tr td:nth-child(2) {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
table.adssigscroll tr td:nth-child(1),table.adssigscroll tr th:nth-child(1) {
|
||||
width: 120px;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
table.adssigscroll tr td:nth-child(2),table.adssigscroll tr th:nth-child(2) {
|
||||
left: 120px;
|
||||
}
|
||||
/*
|
||||
tr:nth-child(n + 100) {
|
||||
visibility:hidden;
|
||||
}*/
|
||||
</style>
|
||||
</asp:Content>
|
||||
|
||||
@@ -254,11 +318,10 @@
|
||||
<asp:UpdatePanel ID="UpDatos" runat="server">
|
||||
<ContentTemplate>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="divContainerads">
|
||||
<asp:GridView ID="GvDatos" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="True" ShowHeaderWhenEmpty="true"
|
||||
DataKeyNames="CvePS"
|
||||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover " data-cols="2" data-heightmenos="300" GridLines="None">
|
||||
CssClass="adssigscroll table table-striped table-advance table-hover " data-cols="2" data-heightmenos="300" GridLines="None">
|
||||
<Columns>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px">
|
||||
<HeaderTemplate>
|
||||
@@ -269,15 +332,15 @@
|
||||
<asp:Label runat="server" Text='<%# Eval("Codigo") %>'></asp:Label>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle HorizontalAlign="Left" Width="120px" />
|
||||
<HeaderStyle HorizontalAlign="Left" Width="110px" />
|
||||
</asp:TemplateField>
|
||||
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="250px">
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="460px">
|
||||
<HeaderTemplate>
|
||||
Producto
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="truncate" style="min-width: 250px">
|
||||
<div class="truncate" style="max-width: 450px">
|
||||
<asp:Label runat="server" Text='<%# Eval("PS") %>'></asp:Label>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
@@ -285,13 +348,11 @@
|
||||
</asp:TemplateField>
|
||||
|
||||
</Columns>
|
||||
<RowStyle Height="31" />
|
||||
<%--<RowStyle Height="31" />--%>
|
||||
</asp:GridView>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
Reference in New Issue
Block a user