jQWidgets Forums

jQuery UI Widgets Forums Grid Initial Grid with Data?

Tagged: 

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Initial Grid with Data? #12301

    fgaonet
    Member

    This question refoers to the example in your documentation: ASP .NET Integration – Bind jqxGrid to SQL Database using ASP.NET.

    When users request the Default.aspx file, it seems that a BLANK grid is posted back to client at first, and then, uses a .Ajax callback to fill the grid with data. It takes two trips for this initial process.

    I need the client getting a grid with initial data at the first postback. Is it possible? I tried to invoke GetCustomers() in page_Load event, but it cannot push the data to client side. Please advise.

    Thanks.

    Initial Grid with Data? #12417

    Peter Stoev
    Keymaster

    Hi fgaonet,

    Not sure what your GetCustomers method returns on load, but if you load data through Ajax, the data is loaded asynchronously. This means that you may see data with a delay. If you don’t like such behavior, set async: false, when you initialize the Grid’s source object.

    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.