Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Read and write into Existed CSV File in a table widget
QtWS25 Last Chance

Read and write into Existed CSV File in a table widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 626 Views
  • 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.
  • A Offline
    A Offline
    Amine Djeddi
    wrote on last edited by
    #1

    Hi Qties ! iam wondering how to show excel file into QT tableWidget and having posssility yo modify value ...

    JonBJ 1 Reply Last reply
    0
    • A Amine Djeddi

      Hi Qties ! iam wondering how to show excel file into QT tableWidget and having posssility yo modify value ...

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Amine-Djeddi
      First you must specify whether you really mean an Excel file or a CSV file, as handling is quite different.

      1 Reply Last reply
      4
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        If the file is CSV, you can use the Model Serialisation module of this library to save and load.

        If the file is Excel (xls/xlsx) your best bet is probably to use QSqlTableModel+QTableView. See this wiki for an idea of how to use Sql for excel

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        2

        • Login

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