Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Get the CSV from a dataTables.net
Forum Updated to NodeBB v4.3 + New Features

Get the CSV from a dataTables.net

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 780 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brochadinho
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved