gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

Internal Server Error when not including Pager

Open chetmay opened this issue 5 years ago • 1 comments

This fails with and internal server error.

$(document).ready(function () {
        $('#grid').grid({
            dataSource: '/Test/GetData',
            columns: [
                { field: 'Seq'},
                { field: 'Name'}
            ]
        });
    });

While this works fine..

$(document).ready(function () {
        $('#grid').grid({
            dataSource: '/Test/GetData',
            columns: [
                { field: 'Seq'},
                { field: 'Name'}
            ],
            pager: { limit: 5 }
        });
    });

So how do I remove the pagination?

chetmay avatar Sep 17 '20 07:09 chetmay

maybe your json data is too large. Review your code behide

soncapham avatar Sep 24 '20 15:09 soncapham