Also, tIndexes is a CR delimited list, not a COMMA delimited one. http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api
Bob S > On Apr 18, 2020, at 6:04 AM, Bob Sneidar <[email protected]> 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 >> <[email protected]> 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??] >> >> Neville > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
