Move the cursor to the column to display the picture

Move the cursor to the column to display the picture

lancwplancwp Posts: 90Questions: 20Answers: 1

I use the inline editing function. The table has YDH and hppic fields. The hppic field stores pictures. I want to mark and display the corresponding hppic pictures here when the cursor moves to the YDH field. How can I achieve this

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Answers

  • lancwplancwp Posts: 90Questions: 20Answers: 1

    I want to have an event where the cursor moves into a cell and the corresponding content can be displayed. Thank you, great engineer

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    I'm not 100% understanding I'm afraid. Do you mean you want the content of the cell to be hidden until the mouse moves over it? You could use a mouseenter event for that and then update the content of the cell (cell().data()).

    Allan

  • lancwplancwp Posts: 90Questions: 20Answers: 1
    edited August 2021

    Do not hide cells. When the cursor moves to the cells in the column of YDH, it will automatically display the prompt picture above. Picture'S URL is the hppic field,Thanks

Sign In or Register to comment.