Hi,
We just upgrade Splunk to version 9.4.2 and in the dahabord we noticed that all the text are wrappedbefore the sting was cutted and ... were at the end.
Do you know how to revert this auto wrapping?
Thank you
Hi @molla
This text wrapping change is indeed a behavior change in Splunk Dashboard Studio in version 9.4.2. It's part of Splunk's ongoing improvements to make dashboards more responsive and readable across different screen sizes, but I understand it may not be what you're looking for in your specific dashboards.
To revert to the previous behavior where text is cut off with ellipses rather than wrapped, you have a few options:
## For Text Visualization Elements:
1. Use CSS to override the wrapping behavior:
a. Click on the text element in Dashboard Studio
b. Go to the Style tab
c. Click on "Advanced" at the bottom
d. Add the following CSS:
```
.wrapped-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
```
e. Apply the custom CSS class to your text element
2. Set a fixed width for the text container:
a. Select the containing element (panel or section)
b. Set a specific width (rather than responsive/percentage-based)
c. This will cause text to behave more predictably
## For Table Elements:
1. Modify cell behavior:
a. Select your table visualization
b. Click on the "Format" tab
c. Find the specific column you want to modify
d. Click "Cell" settings
e. Under "Text Overflow", select "Clip" or "Ellipsis" instead of "Wrap"
2. Apply custom CSS to table cells:
a. Select the table
b. Go to the Style tab
c. Click on "Advanced"
d. Add the following CSS:
```
td.splunk-table-cell {
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
```
## For Single Value Visualizations:
1. Adjust truncation settings:
a. Select the single value visualization
b. Go to the Format tab
c. Find the "Truncate" option
d. Set it to "End" and specify the desired character limit
If these methods don't work for your specific dashboard elements, you may need to provide more details about which specific visualization types are showing the unwanted wrapping behavior.
Note that this is a UI/rendering change in 9.4.2, so there's no global setting to revert all text handling to the previous version's behavior. Each element needs to be adjusted individually.
Please give 👍 for support 😁 happly splunking .... 😎
Which dashboard? Is it custom or Splunk-provided?