DataGrid table DeleteIndex
bobsneidar at iotecdigital.com
Sat Apr 18 09:06:02 EDT 2020
Also, tIndexes is a CR delimited list, not a COMMA delimited one. http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api
> On Apr 18, 2020, at 6:04 AM, Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
> The data grid does not use threads. Nothing in LC does. Did you try the plural form of deleteIndex(es)?
> Bob S
>> On Apr 18, 2020, at 1:50 AM, Neville Smythe via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Am I doing something wrong?
>> I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 9.5.1, Mac Catalina.
>> [Also, If I perform another action in the same handler as the call to delete indexes (indices please) which modifies the content of the datagrid, it leaves the datagrid in a very strange state, which can only be recovered by hitting the Refresh DataGrid in its Property Inspector. Something to do with the timing of the row deletion not having completed I suspect, but that is another matter and may be my code. Hmm, does DataGrid use threads??]
More information about the use-livecode