Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
Yii2 kartik GridView " The 'gridview' module MUST be setup in your Yii configuration "

I have the next trouble,

The gridview module MUST be setup in your Yii configuration file and must be an instance of kartik\grid\Module.

I don't know how to configure my config file. In my config file, I have this:

'modules' => [

        'gridview' => ['class' => 'kartik\grid\Module']
    ],

but this not found

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

The solution is agregated the line modules over the same herarchy like this:

'components' => [
      ],
'modules' => [
     'gridview' => ['class' => 'kartik\grid\Module']
] 
about 4 years ago · Santiago Trujillo Report

0

Try this in your config file:

'modules' => [
    'gridview' =>  [
        'class' => '\kartik\grid\Module',
    ],
],
about 4 years ago · Santiago Trujillo Report

0

'dynagrid' =>  [
    'class' => '\kartik\dynagrid\Module',
    // other settings (refer documentation)
],
'gridview' =>  [
    'class' => '\kartik\grid\Module',
    // other module settings
],

Reference

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!