We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

cursor pointer for a cell

Resolved
manoj asked on June 3, 2020

I have added style for hyperlink underline but cursor pointer is not working in a cell. checked your example for hyper link. In that first column because of some feature always has cursor pointer style, let say i need that style(cursor-ponter) in middle of pivot table  for only one cell

Attachments:
flex1.png

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 3, 2020

Hello,
 
Our team would like to kindly explain that the problem you are facing is due to the fact that values are placed at the lower layer of the page.
 
It can be simply overcome through specifying z-index property for the required cells:

cell.addClass("linkWrapper");
.linkWrapper {
  z-index: 1;
}

 
In order to replace the default cursor with a pointer, an appropriate class should be assigned to the link itself:

cell.text = `<a class="link" href="https://..">${cell.text}</a>`
.link {
  cursor: pointer;
}

 
You are welcome to see an example we have prepared for you.
 
Please let us know if it works for your case.
 
Kind regards,
Illia

Public
manoj June 4, 2020

Worked ,  Thanks.

Please login or Register to Submit Answer