datagrid: rows disapear when add new row

Trevor DeVore lists at
Tue Feb 1 16:23:44 EST 2011

On Tue, Feb 1, 2011 at 3:57 PM, JosepM <jmyepes at> wrote:

>  on mouseup
>     put the dgNumberOfLines of group "dg_test" of this stack into tFilas
>   if tFilas<9 then
>      put "00" & tFilas+1 into tLinea
>   else
>      put "0" & tFilas+1 into tLinea
>   end if
>   dispatch "addLine" to group "dg_test" of this stack with tLinea
>   dispatch "ResetList" to group "dg_test" of this stack
> end mouseup

I assume this button resides outside of the data grid. So clicking on this
button causes a line to be added and the bug you are seeing to occur?

Trevor DeVore
Blue Mango Learning Systems
LiveCode Resources for Developers:

More information about the Use-livecode mailing list