Column not displaying all data with long string
Column not displaying all data with long string
peiwai
Posts: 6Questions: 2Answers: 0
I have a table column called "description" with varchar(50). When the table is loaded on datatable, part of the data in description column are not displayed. Is there any setting to allow all the string get displayed?
Answers
By default Datatables will display the data provided. If the full set of data isn't shown then we will need to find out why. Are you using
columns.render
or some other Datatables functionality that might cause the data from not being fully displayed? Have you checked that the client is receiving the full data? Maybe us the browser's network inspector to view the XHR result.Can you post a link to your page or a test case replicating the issue so we can help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thank you. The problem was indeed not related to datatable, the string was too long for the description column so I altered the column width. The string is all displayed properly on datatable now.