Hello, I am trying to a border radius to a grid row for first and last columns.
I noticed that border is set on <Td> elements so logic is pretty simple:
.e-grid .e-gridheader table tr th:first-child { border-radius: 50px 0 0 50px; }
.e-grid .e-gridheader table tr th:last-child { border-radius: 0 50px 50px 0; }
and it works as long as all columns are visible however, I hide first or last column I get this:
what happens here is that e-hide class is applied to column and it dissapears, but it still last column in the table so I still get border radius for a hidden column. Css selectors th:not(.e-hide):first-child, th:not(.e-hide):last-child or
th:first-child
:not(.e-hide)
, th:last-child
:not(.e-hide) does not work here.
Any ideas how I can achieve this for header and content rows?