determine the number of rows to be saved from a table to an excel sheet
posted 4 years ago
I have a swt table which has texteditors set to it and has 20 rows as default.
i want to make it expandable ... ie allow my table to expand to 20 more rows when the user has finished using up all the initial 20 rows.
also i am to save the rows where user entered input to a file.
how do i determine how many rows the user has entered input...
Here the user has the option to leave any colum null.ie if there are 10 columns .. he may enter value in only one column say the 10th.. and yet it should be saved as a row into a file.. i am not sure how to determine the number of rows... also the number of columns changes dynamically.