dd - 2013-01-05 21:36:14 -
In reply to message 1 from Terry Wysocki
Hi Terry,
The onclick event gives you the id of the record selected.
See example1 in the documentation how to use it:
onClick: function(id){thegrid.DefaultOnClick(id); alert('clicked on row with id = '+id)}
The id can be used to do any operation on the record you like (which need to be coded in php).
About the default values: the columns in a mySQL table can have default values, so in case of adding a row, it simply uses the defaults you defined in the definition of the table.
regards,
dd