Get KoolPHP UI with 30% OFF!

Advanced Array Data Source Bug

Anthony Amolochitis
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.
Posted Oct 29, 2015 Kool
Anthony Amolochitis
You can mark this topic solved since it was solved later when I had the source code.
Topic that solved the issue is "Advanced Array Data Source : Array Exists Check Needed "
Posted Jan 9, 2016 Kool