rstaib / jquery-bootgrid

Nice, sleek and intuitive. A grid control especially designed for bootstrap.
http://www.jquery-bootgrid.com
MIT License
973 stars 364 forks source link

is necessary to return the value current, rowCount??? #390

Open scai2013 opened 6 years ago

scai2013 commented 6 years ago

i guess it isnot necessary to return the value current, rowCount. while using adjax, when response return back, the request is contaning the value of current and rowCount.


            var settings = {
                url: url,
                data: request,
                success: function(response)
                {
                    that.xqr = null;

                    if (typeof (response) === "string")
                    {
                        response = $.parseJSON(response);
                    }

                    response = that.options.responseHandler(response);

                    that.current = response.current;
                    update(response.rows, response.total);