Skip to Content
0
Dec 12, 2016 at 12:17 PM

CSS to select a column based on column header name

210 Views

Hi Experts,

I am using DS 1.6 SP3. In one of the crosstab i have a CSS to hover the specific column of the table based on the n-th child selector. Below is the snippet.

.Table1 .sapzencrosstab-RowHeaderArea:hover tr > td:nth-child(4)
{
text-decoration: underline !important;
cursor: pointer !important;
}

Is it possible to mention the name of the column header here instead of fixing it as the 4th column. The requirement is to hover the column name called, say 'Region', instead of saying it as 4th column because Region dimension can change its position in table when we drag and drop dimensions from Nav.Panel.

I have searched in forum to find out the css classes and possible workarounds, but could not find any.

Thanks & Regards,

Kesavan.