1. Home
  2. Docs
  3. Index
  4. Data Publisher
  5. Non admin users access

Non admin users access

Was this article helpful to you? Yes No

3 Replies to “Non admin users access

  1. Hello,
    I have database table with one large column. I see you using jquery dataTables, is it possible to limit the width just for one column.

    Thank you,
    Anatoly

    1. Hi Anatoly,

      Not sure if I understand your question correctly, but you can change the css white-space property for jQuery DataTable columns. If you change it to normal, text (in long columns) will be wrapped.

      Add the example code below to your WordPress theme customizer to wrap your text. Be aware that you need to replace “your-table-name” with the table name for which you want to change the css white-space property.

      #your-table-name.dataTable.nowrap td {
      white-space: normal;
      }

      Hope this helps!

      Good luck,
      Peter

  2. Thank you for the tip.
    This did not work:
    #your-table-name.dataTable.nowrap td {
    white-space: normal;
    }
    This worked for me:
    table.dataTable.nowrap td {
    white-space: normal !important;
    }

Leave a Reply to Peter Schulz Cancel reply

Your email address will not be published. Required fields are marked *