urbido
Member
Hi, I have custom input in filters, which I pass on change in filter array. Then in PHP events (onLoadData) I take that custom input, process some data and change some rows. It works fine, but I would like to "hide/delete unchanged rows". I tried to do in in onPreLoadData, but anytime I do $model->someMethod, I get 500 error. Also, I tried in "onLoadData", in foreach($rows as $row) unset $row, set $row = null, but its still visible in list.
What is proper way to take list filter params, do some custom-functions and then remove certain rows from list data, according to input filter params and custom-function's result?
What is proper way to take list filter params, do some custom-functions and then remove certain rows from list data, according to input filter params and custom-function's result?