How to Resize column of data table

How to Resize column of data table

Chatur SinghChatur Singh Posts: 1Questions: 0Answers: 0

Hi All,

I am not getting the solution of resizing of data table as per requirement, so if any body have the solution so help me for resizing the data table.

Replies

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

    Do you mean dynamic user drag and drop resizing? That isn't a feature that DataTables currently offers I'm afraid.

    Allan

  • CuroDeveloperCuroDeveloper Posts: 8Questions: 2Answers: 0

    Allan,

    How do I set the column width to auto resize to a certain width? what is the attribute to do that in the DataTable? For example, I want all of my columns at a width = 15%.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @CuroDeveloper ,

    It would be worth raising a new thread, as this one is old and not the same as your question. That said, look at columns.width, this can set a % width for all columns as required,

    Cheers,

    Colin

This discussion has been closed.