Missing word break option for data fields

Stimulsoft Reports.WEB discussion
Post Reply
keris
Posts: 22
Joined: Fri Oct 04, 2013 10:14 am

Missing word break option for data fields

Post by keris »

When activating WordWrap for the Text of a data band, the text does wrap words as expected but that's not sufficent for our large table.
browser.PNG
browser.PNG (4.8 KiB) Viewed 2399 times
Here additionally a word-break would be helpful.
word-break.PNG
word-break.PNG (31.97 KiB) Viewed 2399 times
Do you see any chance to add an additional option to the designer or maybe a workaround for my problem ?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Missing word break option for data fields

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
keris
Posts: 22
Joined: Fri Oct 04, 2013 10:14 am

Re: Missing word break option for data fields

Post by keris »

I have a really large report table (on A3) with small width for each row. To ensure that the data in each row is displayed on screen completely I need a word break in the data fields. A word wrap is not sufficent in this case. ( see above )
Or do you have any other idea how we can manage a large table ?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Missing word break option for data fields

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question.
In this case you need set the WordWrap and CanBreak properties to true.

Thank you.
keris
Posts: 22
Joined: Fri Oct 04, 2013 10:14 am

Re: Missing word break option for data fields

Post by keris »

OK, I see I'm a bad story teller ;-)
I'll try now my best:

The Problem occures in WebViewer only, so it is CSS related. In a Pdf-exported file all is fine for me.

What I've done is exacly what you suggest: WordWrap and CanBreak is set to true.
And the words break as they should do.
So, now you would say: Hey, what's your problem ?

Please notice the difference between word-wrap and word-break.

My problem is, that the table cell I'm using is smaller than the word boundries of my data. With that my data appears as this:

Code: Select all

------------------+
Student,Sirius_Cyb|
------------------+
What I wanna have is

Code: Select all

------------------+
Student,Sirius_Cyb| 
ernetics          |
------------------+
Assigning the 'word-break' style to the generated text field (as depicted above (word-break.png)) does the trick.

OK, I can jquery that style to the Report on my webpage, but that's potentially an additional performance issue.
Otherwise I could change that in the sources we've got with our license. But with that we're running in an update problem.

Hope that clearifies my problem
Peter
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Missing word break option for data fields

Post by HighAley »

Hello.

Unfortunately, there is no word-break feature in our product.

Thank you.
Post Reply