Pavan Kumar
Hi ,
We need to show help texts as tooltips for many fields in UI. I could see ‘ToolTip’ control in UI toolkit.we would need 100 ‘ToolTip’ CVs for 100 input fields .is it good design using ‘Tooltip’ CV for all 100 fields ?
The below script also not working for me , here refElement is control id of input text or binding variable name ?
bpmext.ui.util.showTooltip(refElement,”Show this tip” {“verticalPos”:”T”, “horizontalPos”: “L”, “colorStyle”: “W” });
Kindly suggest the best approach to achieve this.
SPARK Support
Hi Pavan,
The method bpmext.ui.util.showTooltip() is a utility that creates the HTML for a tooltip given the arguments supplied. It does not attach that HTML to the controls div or add the mouse over behavior to display and hide that tooltip. If you wish to develop your own CSS and JavaScript to handle the created div, feel free to use the BPMExt utility.
Otherwise, the Tooltip control is provided for developers to use as to not have to recreate all of the logic to control the behavior. However, if the addition of 100 controls becomes a performance impacting issue, please feel free to reach out to our Sales Team to discuss and engagement.
Regards,
Stephen P.