jQWidgets Forums

jQuery UI Widgets Forums Grid Grid server pagination but clinet side filtering & sorting

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

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

  • danarj
    Participant

    Hi,
    I have created a grid with server side pagination like below code and it is working:

     $("#jqxgrid").jqxGrid({
                    source: dataadapter,
                    filterable: true,
                    sortable: true,
                    autoheight: true,
                    autowidth: true,
                    pageable: true,
                    virtualmode: true,
                    autoshowfiltericon: true,
                    ready: function () {
                        // addfilter();
                    },
                    rendergridrows: function (obj) {
                        return obj.data;
                    },
                    columns: [
                        { text: 'Invoice No', datafield: 'InvoiceNo', width: 180 },
                        { text: 'Purchased date', datafield: 'PurchaseDate', cellsformat: 'dd-MM-yyyy', width: 200, filtertype: 'date' },
                        { text: 'Vendor', datafield: 'VendorName', width: 200, filtermode: 'excel' },
                        { text: 'Purchase ID', datafield: 'PurchaseId', width: 200 },
                        { text: 'Total Price', datafield: 'TotalPrice', width: 100 },
                        { text: 'Currency', datafield: 'CurrencyName', width: 140 },
                        { text: 'Payment Type', datafield: 'PaymentTypeName', width: 100 },
                        { text: 'Method Name', datafield: 'MethodName', width: 140 }
                    ]
                });

    and I want to filter and sort the result from the client side only


    Peter Stoev
    Keymaster

    Hi danarj,

    Not possible. You load your data on demand so you can filter/sort only what’s on the current page.

    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.