Hi Again XD, I have another problem, this time it is about using mpdf to convert the content of my gridview into pdf, and well, I don’t know how to make it work for me.
I already have the extension installed, I did it by composer, but my problem is that in the examples of how to use it on its main page
In order to help you you will need to explain the use-case you are trying to solve. Usually we use this extension to generate a pdf file of invoice or data table so you need to have a button on web-page of those and that button will submit to an action in your controller to create them.
If you already implemented that. please share detailed error so we can help more
There is my problem, I am new to the yii2 framework, and I have no idea how to create a button that calls a controller, I only modify the code that the framework provides me, creating one from scratch I have no idea, in the main page there is a code which you have to use in your controller but the code to call it from a view is not on the page and I wouldn’t know how to do it myself.