Support Article

Hover dialog doesn't come up for a grid cell with no value

SA-37657

Summary



A cell in grid is configured an onmouseover/hover behavior (to display a smart info).

However this smart infor only comes up for cells which have a value. An empty cell doesn't display smart info, this is the issue reported.

This is a read-only grid. And 'Text Input' control is used for the field.


Error Messages



Not applicable

Steps to Reproduce



Configure hover behavior on a cell in repeat grid to display smart info.


Root Cause



This is an expected behavior.
  • The Text input control in read-only mode (for a grid or otherwise) is rendered via span element.

  • ​When the grid cell has content, one can see hover dialog
  • When the grid cell has no content, there is no hover dialog.​


  • This is an expected behaviour - span elements are rendered only when they have content.


Resolution



Here’s the explanation for the reported behavior:

Grid cells which use 'Text Input' control are rendered as spans in read-only mode.

When these cells/fields have no content they are not rendered on screen, as span elements would take up width as necessary to have content.

And as such there is nothing to hover on to see the smart info dialog.


Published May 9, 2017 - Updated May 18, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.