Topic: table grid clear script

sir any script for clearing table grid.. ?  or any script for save and clear that form and table grid in a single click?

Re: table grid clear script

Form1.TableGrid1.ClearRows;

p.s.
Please, don't use button with action ShowForm for create new record, you should use action NewRecord for that.

Dmitry.