This simple statistic will shown at top of grid data
$this->index_statistic = array();
$this->index_statistic[] = ['label'=>'Total Data','count'=>DB::table('products')->count(),'icon'=>'fa fa-check','color'=>'success'];
This simple statistic will shown at top of grid data
$this->index_statistic = array();
$this->index_statistic[] = ['label'=>'Total Data','count'=>DB::table('products')->count(),'icon'=>'fa fa-check','color'=>'success'];