From ceb423b9a1665672253aa736dfb7be9aec67bc6d Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 21 Feb 2025 18:12:56 -0700 Subject: [PATCH] -- inmovilizar columnas --- Ventas/ActualizarPrecios.aspx | 148 ++++++++++++++++++++++++---------- 1 file changed, 105 insertions(+), 43 deletions(-) diff --git a/Ventas/ActualizarPrecios.aspx b/Ventas/ActualizarPrecios.aspx index d367322f9..0053c508e 100644 --- a/Ventas/ActualizarPrecios.aspx +++ b/Ventas/ActualizarPrecios.aspx @@ -41,6 +41,59 @@ border: none; outline: 0; } + + table.adssigscroll { + min-width: 100%; + background-color:#fff; + } + + table.adssigscroll tbody,table.adssigscroll thead{ + background-color:#fff; + } + table.adssigscroll tr{ + background-color:inherit; + } + + + .divContainerads { + width: 100%; + max-height: calc(100vh - 260px); + overflow-y: auto; + } + + table.adssigscroll tr:nth-child(1) { + 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) { + 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: 21px; + max-width: 21px; + } + + table.adssigscroll tr td:nth-child(2),table.adssigscroll tr th:nth-child(2) { + left: 21px; + } @@ -297,22 +350,30 @@
+
- - + + + + Producto/Servicio + + +
+
+
- + @@ -320,7 +381,7 @@ - + @@ -328,7 +389,7 @@ - + @@ -336,7 +397,7 @@ - + @@ -344,7 +405,7 @@ - + @@ -352,7 +413,7 @@ - + @@ -360,7 +421,7 @@ - + @@ -368,7 +429,7 @@ - + @@ -376,7 +437,7 @@ - + @@ -384,7 +445,7 @@ - + @@ -392,7 +453,7 @@ - + @@ -400,7 +461,7 @@ - + @@ -408,7 +469,7 @@ - + @@ -416,7 +477,7 @@ - + @@ -424,7 +485,7 @@ - + @@ -432,7 +493,7 @@ - + @@ -440,7 +501,7 @@ - + @@ -448,7 +509,7 @@ - + @@ -456,7 +517,7 @@ - + @@ -464,7 +525,7 @@ - + @@ -472,7 +533,7 @@ - + @@ -480,7 +541,7 @@ - + @@ -488,7 +549,7 @@ - + @@ -496,7 +557,7 @@ - + @@ -504,7 +565,7 @@ - + @@ -512,7 +573,7 @@ - + @@ -520,7 +581,7 @@ - + @@ -528,7 +589,7 @@ - + @@ -536,7 +597,7 @@ - + @@ -544,7 +605,7 @@ - + @@ -552,7 +613,7 @@ - + @@ -560,7 +621,7 @@ - + @@ -568,7 +629,7 @@ - + @@ -576,7 +637,7 @@ - + @@ -584,7 +645,7 @@ - + @@ -592,7 +653,7 @@ - + @@ -600,7 +661,7 @@ - + @@ -608,7 +669,7 @@ - + @@ -616,7 +677,7 @@ - + @@ -624,13 +685,14 @@ - +
+