Slow Performance of dTable in IE

Slow Performance of dTable in IE

raTheDevraTheDev Posts: 1Questions: 1Answers: 0
edited June 2019 in Free community support

I have more than 25K records to be displayed, and it take more than 48 sec's to load the data in IE., Tried options as DeferOption, ServerSide and decreased Pagination to load less records, But users are still complaining.
It works okay in Chrome and Firefox, but IE users are not happy.

Below is my code snippet

$('#' + stuTableId).dataTable({
                ajax: {
                url:urlValue,
                type: "POST",
                error: handleAjaxError
                },
                paginationType : 'full_numbers',
                order: [1, "asc"],
                scrollY: 500,
                scrollCollapse: true,
                lengthMenu: [10, 25, 50, 75, 100],
                "serverSide": true,
                "deferRender": true,
                processing: true,
                columns: [
                    {   data: "stuName" },
                    {   data: "stuID"   },
                    {   data: "enrollDate"  },
                    {   data: "postDate"    },
                    {   data: "attendance"  },
                    {   data: "sub1"        },
                    {   data: "sub2"        },
                    {   data: "sub3"    },
                    {   data: "grade"       },
                    {   data: null, 
                        render : function(data, type, row){
                            return checkPass(data.grade, data.total, data.avg)
                    }}
                ]

Answers

  • kthorngrenkthorngren Posts: 21,147Questions: 26Answers: 4,918

    For server side processing to work your server script is expected to support the protocol described here:
    https://datatables.net/manual/server-side

    Does your server script support this? Are you using Datatables provided server scripts?

    Kevin

This discussion has been closed.