I'm simulating checkboxes by using spans that do something when clicked. Everything is working fine when using existing data because I can use .get(ID) to access the data row and then use .set to toggle the value (which sets the modified flag and all that). However, when adding a new row to the table, there is no ID, and I can't use the "get" function to access it. I have a semi-working jsfiddle example.
Use the "add new cell text message" button, I haven't implemented the default "add row" button.
Also, how do I have a function I wrote be called after the "Add New Row" button does it's work?
http://jsfiddle.net/brandoncharnesky/KcQ9T/
Use the "add new cell text message" button, I haven't implemented the default "add row" button.
Also, how do I have a function I wrote be called after the "Add New Row" button does it's work?
http://jsfiddle.net/brandoncharnesky/KcQ9T/