QAbstractTableModel Load CSV [SOLVED]
-
Hi,
I have got my table model working by subclassing and overriding the methods for manipulating the table (adding and removing rows and editing data). And now I'm trying to save and load from csv files. removeRows, insertRows, and setData seems like the wrong way to go for something that's going to completely replace all of the info on the table when loading a file, and I can't find a proper method for it. Can someone give me advice? Thank you. -
Hi,
Try to study my library at "GitHub":https://github.com/Code-ReaQtor/qdsvtablemodel
Happy coding!
-
Thanks for the push in the right direction. Looks like a reset was what I was looking for.