L
L
lenkagruzd2019-09-17 14:20:34
Yii
lenkagruzd, 2019-09-17 14:20:34

Yii2 Kartik Export | How to perform an action on the unloaded table after saving the file?

Good day.
I'm trying to solve the task of performing an action with an unloaded table using Kartik Export after transferring data to the buffer.
The onGenerateFile throws an error in the file itself. Therefore, rendering is used only to work inside the export, as far as it turned out to figure out.
How to set an action, for example, to change the entire value of the column of the unloaded table to NULL, after transferring data to the clipboard?
Or create an entry in another table after creating the upload file.
Does Kartik Export have such an opportunity or does it not exist at all?
Or do you need to catch the request and perform this operation in the controller?
Thanks in advance for any help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question