Closed gdrh123 closed 2 years ago
Sorry, the export plugin does not support to download nginx log.
@wenzhixin i guess you misunderstood the question. He don't want do download the nginx logs, he have to log the exports (e.g. log which user downloaded a export).
@gdrh123 You can use the exportedSaved Event and within that event you can submit a ajaxrequest to your backend.
@wenzhixin i guess you misunderstood the question. He don't want do download the nginx logs, he have to log the exports (e.g. log which user downloaded a export).
@gdrh123 You can use the exportedSaved Event and within that event you can submit a ajaxrequest to your backend.
@wenzhixin Yes, you're right.:)
Can you help me "ajax request" about "exportedsaved event" samples. I am beginner and ..Very difficult ...,..help..me.. @UtechtDustin
exportOptions: {
ignoreColumn: [0],
fileName: 'downloadlog'
}
I know "export Options". What should I do with "onExport Saved"?
The exportOptions
is for the export plugin not for the bootstrap-table.
You have to use the onExportSaved Event.
Example: https://live.bootstrap-table.com/code/UtechtDustin/9607
@UtechtDustin very thanks!!!! :)
Please read: https://github.com/wenzhixin/bootstrap-table/blob/develop/CONTRIBUTING.md#bug-reports and post issue to: https://github.com/wenzhixin/bootstrap-table/issues, thanks!
halo. I need to save the download log(nginx log) on the web server. Help me...![image](https://user-images.githubusercontent.com/37731194/140880544-1df89ec5-60bc-4419-b7ec-783eb35da17a.png)
When you download the inquired content into json, xml, csv, txt, etc., i must save a log on the server.
What should I do? Please help me.