How adjust the column width ? in Datatable?

How adjust the column width ? in Datatable?

sunildonsunildon Posts: 40Questions: 7Answers: 0
edited April 2014 in DataTables
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

Replies

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Please link to a test case showing the issue, as noted in the forum rules.

    Allan
  • sunildonsunildon Posts: 40Questions: 7Answers: 0
    Oops i am confused How to . i am getting data from database dynamically . And i am not sure i can link it to a test case .
    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
This discussion has been closed.