How adjust the column width ? in Datatable?
How adjust the column width ? in Datatable?
sunildon
Posts: 40Questions: 7Answers: 0
Well in my datatable i am having a column of contact address . As name suggests the column will have more text to be presented .
I need simply make my text to display in a good way rather increasing my column width . Increasing column height is OK but width should be fixed at any cost .
Example : case1: nvhs,street no-2,lone colony,paradise , newlands (---> this is my column data i dont want to display horizontally .
case2:
nvhs,street no-2,
lone colony,paradise ,
newlands.
I want output like case-2 .
Please let me know if code needed . I have code not related to width . so i didnt post :)
Regards
I need simply make my text to display in a good way rather increasing my column width . Increasing column height is OK but width should be fixed at any cost .
Example : case1: nvhs,street no-2,lone colony,paradise , newlands (---> this is my column data i dont want to display horizontally .
case2:
nvhs,street no-2,
lone colony,paradise ,
newlands.
I want output like case-2 .
Please let me know if code needed . I have code not related to width . so i didnt post :)
Regards
This discussion has been closed.
Replies
Allan
I can give you this info :
i have tried using bautowidth likewise different things by my issue stays .
As mentioned if i give a fixed column "sWidth": "20%" like that if incase data in the column exceeds i need to get the extra info in a new line of same column .
I guess this explains my issue may be not completly but partially :)
Regards