I’m using Kartik’s Yii2 Grid on version 3.5.0 on PHP 8.1, previously I was using version 3.1.0 with PHP 7.0. Problem is, the old version had a <form> for the exporting (.kv-export-form), but it seems to have been removed on this new version, all I found was the <a> tag for the export, containing the data-hash property. I used to manipulate some things in my project when that old form was submitted, but now it is not working anymore and I can’t find another way to get the PDF export data via JavaScript since the submit event is not valid anymore.
How is export data being sent without a form?
Carlos Asked question May 31, 2023