jQuery UI Widgets Forums DataTable About the total number of jqxDataTable

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  JenkeNg 5 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • About the total number of jqxDataTable #114082

    JenkeNg
    Participant

    I use

    
          dataAdapter: new jqx.dataAdapter(this.source, {
            formatData: function (data) {
              return data
            },
            loadServerData: function (serverdata, source, callback) {
              serverdata = formatFilter(serverdata)
              showCustomerList(source, serverdata).then((res) => {
                callback({
                  records: res.rows,
                  totalrecords: res.total,
                })
              })
            }
          }),
    

    obtained 20 pieces of data and a total of 1430 from the server,
    and the total number ‘1430’ has been set, but the total number in the lower right corner of the widget shows 20,instead of 1430,
    and did not calculate the corresponding number of pages,
    Please see this image

    • This topic was modified 5 months, 4 weeks ago by  JenkeNg.
    About the total number of jqxDataTable #114115

    admin
    Keymaster

    Hi JenkeNg,

    Could you provide a full example so we can try your scenario with the DataTable component?

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    About the total number of jqxDataTable #114120

    JenkeNg
    Participant

    Hi,admin,
    Please see this example
    How do I set the total number of simulated data to jqxDataTable? Like I did, it doesn’t seem to work

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

You must be logged in to reply to this topic.