It is possible to determine that a click or double-click in the datagrid was 
not in an active row with data. Just get the dgHilitedLine(s) inside a mouseUp 
or doubleMouseUp handler. If it's empty the user clicked or double clicked in 
an empty space in the dataGrid. Trouble is, it works equally well for clicks in 
the header and scrollbar too. :-)

Bob


On Sep 4, 2011, at 6:48 AM, Matthias Rebbe wrote:

> Hi,
> 
> what do i have to do to let my user to add a new row to a DataGrid table? I 
> can edit an existing row(with already text in it), but i cannot add a new 
> line to the grid by clicking into the next empty row.
> Is that not possible?


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to