Installing Kartik-v GridView

Hello everyone! I installed the widget called kartik-v/gridview and followed all instructions but I am encountering an error right now which is “Class ‘kartik\dialog\Dialog’ not found” I don’t get it how am I going to fix this? I don’t think there’s something wrong in my config/web.php

Hi,

I guess you’re missing the use statement inside your respective PHP file.

Try to insert in the first row of your view:

use kartik\dialog\Dialog;

An example is here:

http://demos.krajee.com/dialog#usage-advanced

Best Regards