I ran into the same problem when I started working with multiple indexes.
Bob S
> On Apr 18, 2020, at 5:58 PM, Neville Smythe via use-livecode
> wrote:
>
> BobS wrote
>
>> Did you try the plural form of deleteIndex(es)?
>
> Well you see I read the documentation. Which says
BobS wrote
> Did you try the plural form of deleteIndex(es)?
Well you see I read the documentation. Which says “DeleteIndexes” is a synonym
of “DeleteIndex”. So I didn’t try it (didn’t try “DeleteIndices” either).
Thanks Bob, that does work! So the documentation is wrong. There is no separate
Belay that it’s early morning and my eyes aren’t focusing well.
DeleteIndexes
• DeleteIndexes pIndexes
• Deletes the specified indexes from the data grid. pIndexes is a comma
delimited list of integers.
Bob S
> On Apr 18, 2020, at 6:06 AM, Bob Sneidar via use-livecode
>
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 wrote:
>
> The data grid does not use threads. Nothing in LC does. Did you try the
> plural form of deleteIndex(es)?
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
> wrote:
>
> Am I doing something wrong?
>
> I put a comma delimited list into tIndexes, then dispatch DeleteIndex
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