Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

SmartInfo not rendered on text hover with negative number format

SA-38340

Summary



Smart Info is not rendered on hovering over a cell in repeating grid layout ,when Negative format is configured as “Minus Sign + Style ref”


Error Messages



Not Applicable

Steps to Reproduce

  1. Add property with negative number value in a section rule with Formatted Text control.
  2. Format negative number with Negative Number + Minus Sign in Presentation tab.
  3. Configure On Hover Smart Info on the formatted text control.
  4. Run case and hover on the negative number.


Root Cause



A defect in Pegasystems’ code or rules :-

If text is configured with negative number format, then a new Span element is generated with negativeformat style class.Parent of Span element has onhover event.
Span element generated for Negative number does not have data-hover attribute. At run time processBehavior API is called(set on immediate parent element), it checks for parameter that is the data-hover attribute. From current element it checks if data-hover has "..." value or not .Based on the number of dots, it traverses back to the parent element where actual smartInfo hover event is configured.Since it is not finding any data-hover in current element, API failing and smartinfo does not show up.

Resolution



Perform the following local-change:

Add below script in non-auto section and keep that section in section where issue coming.

<script>
setTimeout(function(){
$(".NegativeNumber").attr("data-hover",".");
},0);
</script>

Published June 9, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us