- Posts: 44
- Thank you received: 0
Hello again,
Can you help with yet another query please? When I view some of my data via mysqladmin, I can see there are line breaks in some of my longtext fields.
When I view the same record via the table grid, the line breaks are ignored and the paragraphs of data appear as one block of text.
Is there any way I can preserve the formatting in my longtext fields?
Thank you
David
Please Log in or Create an account to join the conversation.
Hi,
Add this code to components/com_grid/layouts/GridView.php, line 268. (If you are using the newest version of Table JX)
$podatek=nl2br($podatek);
Please Log in or Create an account to join the conversation.
Tomaž,
That worked a treat. Many thanks
David
Please Log in or Create an account to join the conversation.