Started: 3/29/2022 11:39 AM
Picture Placeholder: Hassan Noun
Hassan Noun
Edit ToolTip at runTime

​How to update tooltip text for Advanced Lookup​ Control at run time?

Picture Placeholder: Hassan Noun
  • Hassan Noun
/_layouts/15/images/person.gif" alt="Picture Placeholder: Hassan Noun" />
Hassan Noun

​How to update tooltip text for Advanced Lookup​ Control at run time?

13/29/2022 11:39 AM3/29/2022 11:39 AMNoCodes & Scripts
70.948854842299
Edited: 5/5/2022 2:25 AM
Picture Placeholder: Jim Hidson.
Jim Hidson.

Create an action rule to do that :-

Add an action rule on control on onChange event:

For specific control (change the control id)

$('#AdvancedLookup1').parent().find('.token').css('white-space','normal').css('height','auto')

Or

For general token in page

​$('.token').css('white-space','normal').css('height','auto')


 In general, this should be fixed by the control design, the width and height of the control should take the included data into consideration.

Note : if the data inside the control is large, the control will not push down other controls and will get over them.

Picture Placeholder: Jim Hidson.
  • Jim Hidson.
/_layouts/15/images/person.gif" alt="Picture Placeholder: Jim Hidson." />
Jim Hidson.

Create an action rule to do that :-

Add an action rule on control on onChange event:

For specific control (change the control id)

$('#AdvancedLookup1').parent().find('.token').css('white-space','normal').css('height','auto')

Or

For general token in page

​$('.token').css('white-space','normal').css('height','auto')


 In general, this should be fixed by the control design, the width and height of the control should take the included data into consideration.

Note : if the data inside the control is large, the control will not push down other controls and will get over them.

Hassan Noun16505/5/2022 2:21 AM5/5/2022 2:25 AM
12/2/2021 4:19 AM