Datagrid 2 on hover, Tooltip is not showing the complete text.

0
Datagrid2 we have a attribute "Description" with Data Type "String" Max length is 4000 characters,  on hover of the Description the tooltip is not shown the complete text. Any ideas on this, how can we show the full description text in the tooltip? Thank you  
asked
3 answers
0

Hello Sandeep,

The tooltip for Datagrid2 is limited in length. I would recommend changing the 'Project Description' column of the grid to display 'Custom content' (rather than Attribute or Dynamic text), allowing you place the 'Tooltip' widget in the cell:

 

image.png

image.png

 

The tooltip widget's render method should be set to Custom, and a label should be placed in both of the boxes. The label in the first box should display the Project Description and the label in the lower box can either display a plain text message (e.g. 'Desc') or the description itself as you currently have it.

 

*Note - within the properties for the label in the top box, style should include:

 text-wrap: balance;

 

Output (when hovering over the project description):

image.png

 

Hopefully this helps,

Matt

answered
0

As far as I know it uses the standard tooltip (bootstrap). Maybe a styling expert can help you to overwrite the use of this tooltip layout to allow you to show more characters.

answered
0

The reason the description text is not fully displayed in the Datagrid2 tooltip may be due to a limit on the number of characters that can be displayed in the tooltip. This is a common problem with tooltips that are not designed to display large amounts of text. One way to solve this problem would be to configure Datagrid2 so that the tooltip only displays part of the description text, or a shortened version of it.

answered