Bootstrap-table: Wrap the bigger text inside the column

Created on 30 Jun 2016  路  4Comments  路  Source: wenzhixin/bootstrap-table

Hi,
Thanks for the framework, really appreciate it.

When the value inside column is very big , need a way to wrap the text inside the column, could you please help with this ?

I tried date formatter but no luck

Thanks,

awaiting reply help-wanted

Most helpful comment

@rajeshbtlit - try searching more next time and taking a step back first. Is simple table css, nothing to do with bootstrap-table itself, so remove that from your mind and always focus on simplest solution first

Also already been answered here: #2281

https://github.com/wenzhixin/bootstrap-table/issues?utf8=%E2%9C%93&q=is%3Aissue%20wrap

All 4 comments

@rajeshbtlit - try searching more next time and taking a step back first. Is simple table css, nothing to do with bootstrap-table itself, so remove that from your mind and always focus on simplest solution first

Also already been answered here: #2281

https://github.com/wenzhixin/bootstrap-table/issues?utf8=%E2%9C%93&q=is%3Aissue%20wrap

Thanks dabros, appreciate it.

i tired that but looks like am not able to format it.

my table column is defined as below:

<th data-field="wfdName" data-sortable="true" data-class="tdclass">Workflow Name</th>

and i have a css defined as tdclass { word-break: break-word; }

But the table column is not formatting, please forgive if am asking this, dont have much knowledge on javascript.

Not sure, i changed the style from a css file to inside html and it started working, thanks.

@rajeshbtlit - what is "is not formatting"?

Please provide a Fiddle and we can help you more, dummy data from js array is fine (just needs to replicate core issue).

Examples and guide provided below:

Hi! We don't have any reply in that case we are going to close this issue. If the issue is still present please open a new Issue or PR. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DavidKrupi picture DavidKrupi  路  23Comments

typo3ua picture typo3ua  路  23Comments

marcelod picture marcelod  路  16Comments

iamthestreets picture iamthestreets  路  26Comments

iamthestreets picture iamthestreets  路  20Comments