jQWidgets Forums

jQuery UI Widgets Forums Grid Grid autowidth

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid autowidth #5380

    akansha
    Member

    i am dynamically binding the grid . So i dont no number of rows and column.I am getting scrollbar when there are so many columns

    as of now i am using this code
    var noOfColumns=jsonObj.length;
    $(“#jqxgridDataSource”).jqxGrid(
    {
    width: noOfColumns * 215,
    source: dataAdapter,
    theme: theme,
    columnsresize: true,
    pageable: true,
    autoheight: true,
    sortable: true,
    altrows: true,
    filterable: true,
    enabletooltips: true,
    autoheight: true,
    ready: function() {
    addfilter();
    },
    autoshowfiltericon: true,
    columns: columns
    });

    its good for less no. of columns. Is there anything like autowidth which i can use.

    Grid autowidth #5388

    Peter Stoev
    Keymaster

    Hi akansha,

    Unfortunately, our Grid does not support the auto width feature i.e the Grid’s width to be equal to the sum of the width of all columns.

    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.