Hi KoolReport team,

I implemented Koolreport4 in CodeIgniter3. Here I want to attach my report files(to show you how my report looks like). In your Blog it is not supported to upload the files. So that’s y I’m generating this ticket through OutLook.

AIM: My main Aim is I want to render my Report when I click on Link button in Home Page View.

My Issue is:

        When I render my Report directly from HOME Controller Index method, it gives me nice OUTPUT.
application/controllers/Home.php:
class Home extends CI_Controller 
{
   public function index()
    {   
        include APPPATH."mainiDM\ProfitCenter_Wise_Report.php";
        $report = new ProfitCenter_Wise_Report;
        $report->run()->render();
      }  
}

Problem :

    When I render my Report from HOME Controller ,<userDefinedMethodName>, it gives me Empty OUTPUT.

application/controllers/Home.php:

class Home extends CI_Controller 
{
            
    public function index()
    {
            $this->load->view('..\mainiDM\Multi_Drop_Down.php');
     }  
   public function ProfitCenter_Wise_Report()
    {
       include APPPATH."mainiDM\ProfitCenter_Wise_Report.php";
       $report = new ProfitCenter_Wise_Report;
       $report->run()->render();
    }
}

Application/mainiDM/ Multi_Drop_Down.php:

<div class="dropdown">
    <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Sales</button>
    <ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
       <li class="dropdown-submenu">
          <li><a href="<?php echo site_url('Home/ProfitCenter_Wise_Report'); ?>">ProfitCenter Wise Sales</a></li>

AIM: My main Aim is I want to render my Report when I click on Link button in Home Page View.

Thank You In Advance. Please give me reply as early as Possible……