jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Dror Saddan
    Member

    Well, when all fails there is only one solution. Namely: RTFM …

    maxHeight Number/String 600
    Gets or sets window’s maximum height.

    Code examples

    Initialize a jqxWindow with the maxHeight property specified.

    $(‘#jqxWindow’).jqxWindow({ maxHeight: 1000 });

    $(document).ready(function () {
    $(“#mainWindow”).jqxWindow({ height: 624, maxHeight: 630, width: 860, maxWidth: 860, theme: ‘summer’, showCollapseButton: true });

    Dror


    Dror Saddan
    Member

    Thank you. It works great:

                var invoiceNumRenderer = function (row, columnfield, value, defaulthtml, columnproperties) {
    var theStatus = $("#jqxgrid").jqxGrid('getrowdata', row).StatusID;
    if (theStatus == 0) {
    return '<span style="margin: 4px;float: ' + columnproperties.cellsalign + ';color: #ff0000;font-weight: bold">' + value + '</span>';
    }
    else if (theStatus == 2) {
    return '<span style="margin: 4px;float: ' + columnproperties.cellsalign + ';color: #006638;font-weight: bold">' + value + '</span>';
    }
    else if (theStatus == 3) {
    return '<span style="margin: 4px;float: ' + columnproperties.cellsalign + ';color: #9B30FF;font-weight: bold">' + value + '</span>';
    }
    };

    Dror

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