You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i use laravel9 on TreeGridConnector but
this not working;
namespace App\Http\Controllers;
use App\Models\Test;
use Illuminate\Http\Request;
use Dhtmlx\Connector\TreeGridConnector;
class TestController extends Controller
{
public function index()
{
return view('test');
}
public function test_get()
{
$data = Test::get()->toArray();
$treegrid = new TreeGridConnector(null, "PHPLaravel");
$treegrid->configure($data,"id","name","", "parent_id");
$treegrid->render();
}
}
Thic code return http500
if i changed this line
//$treegrid->configure($data,"id","name","", "parent_id"); //
$treegrid->configure(new Test(),"id","name","", "parent_id");
array_key_exsist()
The text was updated successfully, but these errors were encountered:
Hi i use laravel9 on TreeGridConnector but
this not working;
namespace App\Http\Controllers;
use App\Models\Test;
use Illuminate\Http\Request;
use Dhtmlx\Connector\TreeGridConnector;
class TestController extends Controller
{
public function index()
{
return view('test');
}
}
Thic code return http500
if i changed this line
//$treegrid->configure($data,"id","name","", "parent_id"); //
$treegrid->configure(new Test(),"id","name","", "parent_id");
array_key_exsist()
The text was updated successfully, but these errors were encountered: