jQWidgets Forums

jQuery UI Widgets Forums Grid Large data sets

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Large data sets #49565

    josh
    Participant

    Hi Everyone
    Am trying to use the virtual mode described in demo to load data from a database with very many records
    This is my code snippet
    `var rendergridrows = function () {
    var data = {{usb_data|safe}};//this is json data from a database source
    return data;
    }
    var dataAdapter = new $.jqx.dataAdapter(source);

    // initialize jqxGrid
    $(“#jqxgrid”).jqxGrid(
    {
    width: ‘100%’,
    autoheight: true,
    source: dataAdapter,
    altrows: true,
    sortable: true,
    virtualmode: true,
    groupable: true,
    columnsresize: true,
    pageable: true,
    filterable: true,
    autoshowfiltericon: false,
    rendergridrows: rendergridrows,
    selectionmode: ‘multiplecellsextended’,`
    But this displays an empty grid..
    anyone who can help ASAP please?
    Regards

    Large data sets #49600

    Dimitar
    Participant
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.