We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Page Navigation returns "Cannot read property 'find' of null"

Thread ID:

Created:

Updated:

Platform:

Replies:

126187 Sep 29,2016 11:15 AM UTC Sep 30,2016 12:45 PM UTC JavaScript 1
loading
Tags: ejGrid
Carlos Rodríguez García
Asked On September 29, 2016 11:15 AM UTC

Hi,

In the newest version of Chrome, I get a random error on the pagination of the table. At random times (no pattern at all) the pagination control does not work (i.e., it does not allow you to move from one page to the other) and throws the following error:

ej.web.all.min.js:10 
Uncaught TypeError: Cannot read property 'find' of null
sendDataRenderingRequest @ ej.web.all.min.js:10
_processBindings @ ej.web.all.min.js:10
gotoPage @ ej.web.all.min.js:10
_gPagerClickHandler @ ej.web.all.min.js:10
_trigger @ ej.web.all.min.js:10goToPage @ ej.web.all.min.js:10
_pagerClickHandler @ ej.web.all.min.js:10
(anonymous function) @ ej.web.all.min.js:10
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121

This functionality works fine in FF and IE, so I guess it is browser related.

Here is the code where the grid gets generated:

                    angular.element('#Grid').ejGrid({
                        dataSource: $scope.dataForGrid,
                        allowGrouping: true,
                        allowPaging: true,
                        pageSettings: { pageSize: 20, currentPage: $scope.page },
                        allowEditing: false,
                        allowTextWrap: true,
                        allowSorting: true,
                        actionBegin: $scope.actionBegin,
                        allowFiltering: true,
                        filterSettings: { filterType: "excel" },
                        allowSelection: true,
                        enableTouch: false,

                        columns: [
                                { headerText: "", template: true, templateID: "#checkboxTemplate", textAlign: ej.TextAlign.Center, width: 5 },
                                { field: "product", isprimarykey: true, headerText: "Product", textAlign: ej.TextAlign.Left, width: 15, template: true, templateID: "#productTemplate" },
                                { field: "component", headerText: "Component", textAlign: ej.TextAlign.Left, width: 12, template: true, templateID: "#componentTemplate" },
                                { field: "projectId", headerText: "Project ID", textAlign: ej.TextAlign.Left, width: 10 },
                                { field: "title", headerText: "Title", textAlign: ej.TextAlign.Left, width: 50, template: true, templateID: "#titleTemplate" },
                                { field: "language_count", headerText: "Lan", textAlign: ej.TextAlign.Center, width: 4, template: true, templateID: "#languageTemplate" },
                                { field: "delivery_due_date", headerText: "Due Date", textAlign: ej.TextAlign.Left, width: 15, template: true, templateID: "#columnTemplate" },
                                { field: "word_count", headerText: "Word Count", textAlign: ej.TextAlign.Left, width: 8 },
                                { field: "document_count", headerText: "Docs", textAlign: ej.TextAlign.Left, width: 4 },
                                { field: "groupactions", headerText: "Actions", textAlign: ej.TextAlign.Left, width: 10, template: true, templateID: "#actionsTemplate" }
                        ],
                        create: vm.onGridCreate,
                        actionComplete: $scope.complete,
                        recordDoubleClick: vm.recordClick,
                        recordClick: vm.checkboxClick

                    });

Thank you for your help.

Kind regards,
Carlos


Jayaprakash Kamaraj [Syncfusion]
Replied On September 30, 2016 12:45 PM UTC

Hi Carlos, 
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.  
 
Regards,
Jayaprakash K.
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;