webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

defining id, updating 2 db-tables from 1 editablegrid #29

Closed ben-ejvbew321 closed 11 years ago

ben-ejvbew321 commented 12 years ago

I know guys aren't big on questions, but I am not sure what else to do

scenario: sql joined table - TableA, TableB two ID colums and a grid with columns from both db-tables

how does editableGrid.getRowId(rowIndex) get to be something like editableGrid.getValueAt(rowIndex, editableGrid.getColumn("TableB ID"))

how can the ajax > data > id column be defined

it's explained better here if you're keen

http://stackoverflow.com/questions/11344155/ajax-update-to-multiple-database-tables

re - but I am not sure what else to do... I've no problem using freelancer.com et al but would like to learn where I can