Page 1 of 1

Datagrid problem

Posted: Mon May 15, 2023 9:13 am
by CAsba
Hi,
I've used the following code

Code: Select all

set the dgtext of grp "datagrid 1" to empty
This code worked fine on one particular card.
On a second card, it had no effect, the DG retained all its data.
I tried un-ticking 'persistent data' in the DG and still not working.
Any ideas ?

Re: Datagrid problem

Posted: Mon May 15, 2023 9:30 am
by CAsba
Whoa,
I sorted it by re-starting windows !
(Sigh..)

Re: Datagrid problem

Posted: Mon May 15, 2023 1:55 pm
by stam
if you're call this from another card, make sure you specify the card that contains the datagrid, ie:

Code: Select all

set the dgText of grp "<data grid name>" of card "<card name>" to empty