jQWidgets Forums

jQuery UI Widgets Forums DataTable Setting Height for data rows

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 10 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Setting Height for data rows #67454

    boxmga
    Participant

    Hi,

    With the columnsHeight property we can set the height of the columns headers of a DataTable.

    How can we set the data rows height?

    Best regards

    Cristiano Ferrari

    Setting Height for data rows #67468

    Dimitar
    Participant

    Hi Cristiano Ferrari,

    Unfortunately, the rows’ height cannot be set. You can only choose if it is auto or not by setting the property autoRowHeight to true or false respectively.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Setting Height for data rows #67531

    boxmga
    Participant

    And the font-size for the rows, can I change it?

    If ther is no property to this, alternatively can I change/customize the CSS file? If yes, what class (in what file) can I change to do this?

    Setting Height for data rows #67549

    Dimitar
    Participant

    Hi Cristiano Ferrari,

    You just need to apply the following style to your page:

    <style type="text/css">
        #table .jqx-grid-cell
        {
            font-size: larger;
        }
    </style>

    where table is the id of your jqxDataTable.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.