jQWidgets Forums

jQuery UI Widgets Forums Grid Problem with Go to page and show rows – horizontal scroll

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • Nick
    Member

    Hi,

    I have 2 issues with the grid.

    1) Go to page option on the grid.
    2) Show rows option is always holding 10,20,30 values only , my issues are with the horizontal scroll as i don’t see the 20 option in the scroll rows as i click the horizontal scroll it just throws javascript error with jqx-all.js at line 7.

    I have created and initialized the grid with all the data displaying properly, just that these 2 options wouldn’t work.

    Please find the code i have done for the grid.

    $(“#jqxgridCust”).jqxGrid(
    {
    width: document.documentElement.clientWidth-150,
    source: reqDataAdapter,
    editable: true,
    pageable: true, –> i have used this option for the Go to Page
    autoheight: true,
    columnsresize: true,
    altrows:true,
    filterable: true,
    sortable: true,
    selectionmode: ‘singlecell’,
    columns: [
    { text: ‘name’, datafield: ‘name’, columntype: ‘textbox’, width: 100, pinned: true, editable: false }
    ]
    });
    $(“#jqxgridIR”).jqxGrid({ columns: reqGridCustCols });

    Kindly help me with the issues of the grid.

    Regards
    Nick


    Nick
    Member

    Hi,

    I have 2 issues with the grid.

    1) Go to page option on the grid.
    2) Show rows option is always holding 10,20,30 values only , my issues are with the horizontal scroll as i don’t see the 20 option in the scroll rows as i click the horizontal scroll it just throws javascript error with jqx-all.js at line 7.

    I have created and initialized the grid with all the data displaying properly, just that these 2 options wouldn’t work.

    Please find the code i have done for the grid.

    $(“#jqxgridIR”).jqxGrid(
    {
    width: document.documentElement.clientWidth-150,
    source: reqDataAdapter,
    editable: true,
    pageable: true, –> i have used this option for the Go to Page
    autoheight: true,
    columnsresize: true,
    altrows:true,
    filterable: true,
    sortable: true,
    selectionmode: ‘singlecell’,
    columns: [
    { text: ‘name’, datafield: ‘name’, columntype: ‘textbox’, width: 100, pinned: true, editable: false }
    ]
    });
    $(“#jqxgridIR”).jqxGrid({ columns: reqGridCustCols });

    Kindly help me with the issues of the grid.

    Regards
    Nick


    Peter Stoev
    Keymaster

    Hi Nick,

    Could you provide a full sample(it could be with mock data) because the initialization looks ok, but I can’t understand from it what’s going wrong. Providing a sample will allow me to test your specific scenario.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.