So far i got the program doing the 3 main objectives i wanted, Read CSV, Edit CSV, Save CSV
Few bugs i haven't been able to fix yet.
- The way it read the CSV is very basic, making it extremely sensitive to extra empty spaces in them, sometimes it creates new headers that shouldn't be there.
- When you have a empty column in a CSV file opened and you try to add a value in it, it will return a error because it set a specific value as default, even it its supposed to always accept a string value.
Not solvable Problems:
Change the header on the DataGrid, you lose the ability to set the columns into descend and ascend depending on the alphabetic order or numeric order.
Missing stuff:
The Help function is not 100% set and requires selecting a "Cell"<-
Added a drop down menu with a help option so its more or less done and pressing Help on the menu to get a small explanation if what it does and what value accepts/requires/is_limited_to need to be more specific and accurate, reason why i asked to have an update on the topic:
http://fractalsoftworks.com/forum/index.php?topic=23 about the CSV files headers.
In the end there's alot more optimization that can be done, multiple CSV files that can be opened using a tab to move one to another.
You dont have an option like on Excel to move/copy/paste entire Columns or Rows this can be done once i get a better code to manipulate the DataGrid.
Possible Optimizations:
CSV files creates a XML file that sets every cell to be interactive objects themselves allowing you for example to manipulate/access a *.ship/*.variant | *.weapon/*.proj | *.system ... files that is "connected" to it.