Large Column İssue

Large Column İssue

msonr2msonr2 Posts: 3Questions: 1Answers: 0

Hi everybody,

İ have issue with column size. I want to explain as image to understand clearly.

**First İmage **

Above the dataTable is my dataTable that has 12 columns. There is no problem now. But, when i write the large text to "Task Description" Column in the dataTable it looks like the picture below.

**Second İmage **

So, how can I make the text move to new line? When text is long ? Any suggestions ?

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Looks like you might have white-space: nowrap in your CSS for the child row? If so, either remove that or override it for the child row to allow wrapping.

    Allan

  • msonr2msonr2 Posts: 3Questions: 1Answers: 0
    edited April 2018

    Can you explain with more detail ? I don't know how can i do.
    Note : I use asp.net gridView
    Thank you.

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Can you show me the code you are using to create that child row, or are you using Responsive to display it? If you can link to the page that would be really useful.

    Allan

  • msonr2msonr2 Posts: 3Questions: 1Answers: 0

    I shared with you as image. I use the bootstrap and asp.net gridView.

    JS Codes

    GridView DataTable Codes

    rowDataBound Event of GridView

    In Addition, i included the required CSS and Script files.

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    It isn't clear to me how the child row is being displayed. Either you are using the row().child() API method or you are using Responsive.

    Either way, if you can link to a test page showing the issue I would be happy to look into it.

    Allan

This discussion has been closed.