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
Forum Update on Monday, May 27th 2025

Read and write into Existed CSV File in a table widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 636 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 13 Jun 2018, 10:26 last edited by
    #1

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

    J 1 Reply Last reply 13 Jun 2018, 10:36
    0
    • A Amine Djeddi
      13 Jun 2018, 10:26

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

      J Offline
      J Offline
      JonB
      wrote on 13 Jun 2018, 10:36 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
      • V Offline
        V Offline
        VRonin
        wrote on 13 Jun 2018, 12:08 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

        1/3

        13 Jun 2018, 10:26

        • Login

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