> To reference to next row from the actual is better use 
> 
> SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" 
> 
> or can be a problem with datagrid index? 
> 

<Hmm, I think this might cause problems. The data grid won't throw an error 
<if you try to assign data to an index that you haven't added but I also 
<don't think it will update the total height of the data in the grid which 
<AddData will do. This may cause problems when scrolling through your data 
<later on. 

Whenever I refer to the other line is why I have the certainty that there
is, so the first row generates, if necessary, additional lines. So, in
theory should not cause any error.

I have been trying to create several rows which this create more rows to
force the displacement of the datagrid height and, at first glance seems to
work and move correctly.

The creation of these lines is always in last position and never between. 

Why you say that don't update de total height of data?

Salut,
Josep

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3168784.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
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