Topic: ROR spreadsheet
Im attempting to create essentually what will be an openoffice spreadsheet using ajax_scaffold.
Now by default each line will be non-editable and will have actions to edit or delete. No problems there.
The last action will be "add a line below" which will add a line below the one clicked obviously .
Now the problem I have:
Each line is numbered. 1..x and adding a line will obviously change all the line numbers below it.
so do you guys have any suggestions as to how I could possible do this?
what techniques would you use?