columm.width: how will I reduce column width if the text in the cell is too long
columm.width: how will I reduce column width if the text in the cell is too long
Hello,
I guess I do something totally wrong. My intention is to reduce column width to a specific value. Unfortunately if text inside is longer the column width still fits to the text length. I just do not want too see whole text, just beginning.
It works the same way either with parameter:
"columns": [
{ width: '20px' },
null
],
or
columnDefs: [{ width: 20px, targets: 0 }],
I have tried both: with and without quotes and I am running out of ideas. Could you please look at the sample:
This question has an accepted answers - jump to answer
Answers
One option is to use the Ellipsis plugin.
Kevin
Yep! As always quick and to the point!