DataGrid How To Delete A Row
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
DataGrid How To Delete A Row
I just started working on datagrid. Where can I can find an example on how to delete a row in a datagrid?
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Location: Aalst, Belgium
- Contact:
Re: DataGrid How To Delete A Row
Take a look at the revLessons section for the Datagrid: http://lessons.runrev.com/spaces/lesson ... s/datagrid
HTH,
Jan Schenkel.
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Re: DataGrid How To Delete A Row
Yes I tried skimming through it but can't find it. I just I want to come up with something very quickly to convince my boss that Rev could be useful to us.
Re: DataGrid How To Delete A Row
look at http://lessons.runrev.com/spaces/lesson ... a-Grid-API specifically deleteLine. For a quick test you can type in:
Code: Select all
dispatch deleteLIne to group "yourDatagridGroup" with "1,4,5"
-- deletes rows 1, 4 and 5 of the datagrid.
Re: DataGrid How To Delete A Row
Thank you very much!
Re: DataGrid How To Delete A Row
dispatch deleteLIne to group "source" with "1,2,3"
Does not work for me. It only deletes one line and I cannot tell which it will be. Sometimes its 1 and sometimes its 3.
Does not work for me. It only deletes one line and I cannot tell which it will be. Sometimes its 1 and sometimes its 3.
Re: DataGrid How To Delete A Row
Hi smelly,
I am sure the threadstarter will have found a solution in the last 11 years!
The devil is in the detail!
To delete one LINE use:
To delete more than one LINES use:
See the tiny difference?
line <> lines
Best
Klaus
I am sure the threadstarter will have found a solution in the last 11 years!
The devil is in the detail!
To delete one LINE use:
Code: Select all
dispatch deleteLIne to group "source" with 1
Code: Select all
dispatch deleteLineS to group "source" with "1,2,3"
line <> lines
Best
Klaus