Hi All,
I have a SharePoint list multiple lines of text control which is shown in Powerapps Gallery label.
My requirement is to append 3 dots to the multiple lines of text and make that 3 dots clickable.
Once I click on that 3 dots, it should redirect me to next screen in powerapp which would show the entire paragraph.
I have amended 3 dots to the multiple lines of text already using concatenate, however not sure how to make them clickable.
Any advice would be helpful? Thanks.
Hi @Iantaylor2050,
I think it's impossible to make only the 3 dots clickable, but you can make the whole text clickable with the property onSelect, or, you can also put a transparent button above the text 🙂
Have a nice day!
Hello @Iantaylor2050
Native PowerApps UI wise, it's tricky, a custom control would be an answer to these.
If your width/height is fixed, you can add a transparent button to that part. Put the action controls on the button
The issue with this is if there are instances when texts are short.
Another is to reduce your requirements and allow maybe allow you to add a button on the side or at the bottom.
Just in case you my answer helped you solve your problem, please mark/accept this as a SOLUTION. This helps community members if they experience a similar issue in the future. |
bistek.space @cha_bistek @BisTekSpace |
Hi @Iantaylor2050 ,
You will have to use two labels -
One will display the text with limited number of characters suppose 50 named "LblLimitedText" -
Text property of LblLimitedText label -> Left(PlainText(ThisItem.Description), 50)
Second label will display 3 dots named "LblThreeDots"
Text property of LblThreeDots label -> "..."
X property of LblThreeDots label -> LblLimitedText.X+LblLimitedText.Width
You can add below formula in OnSelect property of LblThreeDots label ->
Navigate(ScreenName,ScreenTransition.Cover, {navItemID: ThisItem.ID})
In the ScreenName you can use lookup function to display full description -
LookUp(SPList, ID=navItemID, Description)
User | Count |
---|---|
256 | |
110 | |
90 | |
51 | |
44 |