Get the CSV from a dataTables.net
-
Hi
i'm using webView to auto-navigate a website, and i want to get the data(csv/xls) from a dataTable(dataTables.net). the download button is a pic over and embed element. I tried @ QWebElement xlsButtonDownload=ui->webView->page()->currentFrame()->findFirstElement("embed[id=ZeroClipboard_TableToolsMovie_1]");
xlsButtonDownload.evaluateJavaScript("click()");
@
The elements isn't null, but doesn't do a thing. I notice that the "ZeroClipboard_TableToolsMovie_1" souce is something like "*/copy_csv_xls_pdf.swf"" that is a internal method of dataTables.net.Anyone as some idea how to get the data from the table?
Thanks!