Setting scrollX = true, width does not follow my setting
Setting scrollX = true, width does not follow my setting
tuantmm10
Posts: 2Questions: 2Answers: 0
datatable my issues: if setting scrollX = true, width does not follow my setting
// set wwidth column
columnDefs = [
{width: 170, targets: 0},
{width: 170, targets: 1},
];
This happens when the length of the text exceeds the width that I set for the column
How can i fix it?
This discussion has been closed.
Answers
Hi @tuantmm10 ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin