Forums
[Improve] Load Grid Data Performance - Printable Version

+- Forums (http://forum.masdeveloper.com)
+-- Forum: General (http://forum.masdeveloper.com/forumdisplay.php?fid=1)
+--- Forum: Appcore Updates, Patchs, and Bugfixes (http://forum.masdeveloper.com/forumdisplay.php?fid=10)
+--- Thread: [Improve] Load Grid Data Performance (/showthread.php?tid=59)



[Improve] Load Grid Data Performance - seegithub - 04-23-2016

Hello,

This time we want to update the performance issue related data load on the grid if the data has reached 1 million rows or more, please update 2 core files contained in the folder application/core/, ie MY_Controller and MY_Model.

Attention:
If there are any of you who do override the method front() on controller, then note the following:
1. find the following line of code:
PHP Code:
$v->totalRow    count($this->search($opts)); 

then replace with
PHP Code:
$v->totalRow    $this->_count($opts); 

copy and overwrite the files that we've included in this thread to a folder application /core/ directory on your application. Do not forget to backup the files on your application

See u.