This is one of my tutorials for people working with RCP, SWT, JFace to export grid data. It is very obvious to display data in a grid/tabular form. Most of the times, user wants to export the data which is being displayed so how to export grid data from the grid to an output file. This is not that tricky to achieve. Lets see how to export grid data from a TreeViewer grid to the console. You can replace the console output to be dumped in any output file as per your convenience and instead of TreeViewer you can use any grid type of JFace/SWT.