jQWidgets Forums

jQuery UI Widgets Forums Grid paging-Selec row not able to change the value

Tagged: ,

This topic contains 18 replies, has 2 voices, and was last updated by  kalaivani 12 years, 11 months ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author

  • kalaivani
    Member

    Iam using VS2010 and Asp.net 4.0 in IE 9.

    I replaced with you code .

    As i informed you before i got Grid view Flickered once at the last updation .At that time Grid view is not available in that page it getting refreshed(disappears and then appears) for a sec ,when the function tries to get page number at that time var page = $(“#jqxgrid”).jqxGrid(‘getpaginginformation’).pagenum;
    am getting that error.

    When i press ignore then it works as expected .

    Are you using different IE ?


    kalaivani
    Member

    is thr any option to check like

    if (!( $(“#jqxgrid”).jqxGrid(‘getpaginginformation’) === ‘undefined’)) before getting the pagenum?


    Peter Stoev
    Keymaster

    Hi kalaivani,

    The ASP .NET application works only with IE for debugging and I tested with the same browser as you with VS 2010. The line: $(“#jqxgrid”).jqxGrid(‘getpaginginformation’) will display error message, if the Grid is not initialized. If you are calling the line before initializing the Grid, you will see error. That is the reason I call the getdata function which initializes the Grid, before setting the timer.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    kalaivani
    Member

    Thanks Peter.

    i have solved that by implementing like

    if ($(“#jqxgrid”).jqxGrid(‘getpaginginformation’) == undefined)
    {
    var page = 0;
    }
    else
    {
    var page = $(“#jqxgrid”).jqxGrid(‘getpaginginformation’).pagenum;
    }

    now the script error is not reporting…

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.