Different Table same column width

Different Table same column width

sagarbendalesagarbendale Posts: 18Questions: 6Answers: 0

Hello,

Does anyone know how to have same column width for 2 different datatables on same page?

Thanks,
Sagar

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    sure, make a class that contains widths and add it via className in both tables.

  • sagarbendalesagarbendale Posts: 18Questions: 6Answers: 0

    Yes. But is there any way without explicitly stating the column width for each and every table column?
    Also we will have disable autoWidth for the columns.

    Other way that I am thinking is use JS to read column widths of first datatable and apply them to columns for second datatable.

This discussion has been closed.