jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: cellsalign – center cellsalign – center #4271

    jonathan
    Member

    Hey Alex,

    The following workaround is working for me:

    function layoutCells() {
    $('.jqx-grid-cell').find('span').css({
    float: 'none',
    display: 'block',
    'text-align': 'center'
    });
    }
    $('#jqxgrid').bind('pagechanged', function () {
    layoutCells();
    });
    $('#jqxgrid').bind('bindingcomplete', function () {
    layoutCells();
    });

    Jonathan.

Viewing 1 post (of 1 total)