how to set uniform width for all columns?

how to set uniform width for all columns?

xemacsxemacs Posts: 4Questions: 2Answers: 0

I have a very random number of column (depends on the data coming from the database, column number could be 5 or 6 or 11 or other value). Now my problem is I want to set a uniform width for all columns.

      columnDefs: [
            { width: 200, targets: 0 }
        ]

I found this, but requires me to specify each column. Any thoughts?

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    The "columnDefs.targets" documentation is pretty clear:

    The string "_all" - all columns (i.e. assign a default)

This discussion has been closed.