Moonsoft Software Solutions

Styling main table listing

Started 7 May 2025 · 4 replies

  1. Dean
    I see where css classes can be added to style fields in the input form; is there any way to add classes to the fields in the table listing?
  2. Moonsoft support
    Hi,
    this question is arising repeatedly so we have created a version where each column has a specific class name (its internal name), to make it easier to style. If you upgrade you should see class="yourcolumnname" added to each td data of the table and you can start adding

    .yourcolumname{
    //styles here
    }
    to the css section.

    Even without this class, it was also possible to add styles to your list using the default 'column' selector in css, like any other table. Please check this thread:

    <a href="https://www.moonsoft.es/support/forums/5-lm-support/4561-css-not-working-for-me">https://www.moonsoft.es/support/forums/5-lm-support/4561-css-not-working-for-me</a>

    The
    .mstable th:nth-child(2)

    selector is the header of the second column, while

    mstable tr td:nth-child(2)

    is the second column itself, the data rows.

    Here you can specify the width like the example, or any other property like colors, fonts...etc.

    Please let us know if you need further help to create any specific style.

    Best regards
    Silvia Martín
    Moonsoft Team


  3. Dean
    Perfect, thank you. I appreciate your quick responses to my support questions. This ticket can be closed.
  4. Moonsoft support
    Great, closed now, please open a new one if you want to start a new question.
    Thanks, regards
    Silvia Martín
    Moonsoft Team
  5. Dean
    Perfect, thank you. I appreciate your quick responses to my support questions. This ticket can be closed.

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket