If you pass back an empty array with no rows, then the following notice appears at the top of the page.
Basically return array();
You will get the following :
Warning: Invalid argument supplied for foreach() in C:\wamp\www\order\KoolPHP\KoolControls\KoolGrid\koolgrid.php on line 1
Once I supply array records to the AdvancedArrayDataSource so the grid can display them, the warning disappears.
I believe this must be a bug. I feel this should just display the empty grid.
Thanks guys,
Let me know what you find please.