jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Alignment

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Alignment #32713

    Gowri
    Participant

    Hi there.

    When I add any styles inside a div , the styles are moving to the top right most corner.

    var RateColor = function (row, columnfield, value, defaulthtml, columnproperties)
    {
    var ratecolor;
    ratecolor = '<div class = "badge badge-success" >' + value + '</div>';
    return "<div> " + ratecolor + "</div>";
    }

    Thanks,

    Gowri

    Grid Alignment #32716

    Peter Stoev
    Keymaster

    Hi Gowri,

    By defining custom Cell rendering functions, you will have to take care of the alignments in your HTML code. Example: jquery-grid-cellsrendering.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.