TD-22014: Issues in Grid while working on multi selection actions
TD-22014: Issues in Grid while working on multi selection actions
Hi All,
The Grid does not support to delete multiple rows though I have chosen multiple rows. In table window, it works fine with straight forward code. But i tried different code here for both but it does not yet work in Grid.
Am I making any mistake here? Is there any other piece of code that will work for Grid. Or should we need to write in recursive function to delete or move all the files as work around?
Attached is the sample in TD 6.2.
Thanks!
Siva A
The Grid does not support to delete multiple rows though I have chosen multiple rows. In table window, it works fine with straight forward code. But i tried different code here for both but it does not yet work in Grid.
Am I making any mistake here? Is there any other piece of code that will work for Grid. Or should we need to write in recursive function to delete or move all the files as work around?
Attached is the sample in TD 6.2.
Thanks!
Siva A
You do not have the required permissions to view the files attached to this post.
Re: TD-22014: Issues in Grid while working on multi selection actions
Hi Gupta,
Will there be a possibility to fix this bug in feature update or any work around for this?
Thanks!
Siva A
Will there be a possibility to fix this bug in feature update or any work around for this?
Thanks!
Siva A
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: TD-22014: Issues in Grid while working on multi selection actions
This is a bug indeed. The grid should react the same compared to table.
A workaround is to first mark all selected rows as deleted
and then loop through the table and check for the ROW_MarkDeleted flag for each row.
When it has this flag, delete it.
(so do not check the row flag ROW_SELECTED, it is lost when deleting a row on a grid)
A workaround is to first mark all selected rows as deleted
Code: Select all
Call SalTblSetRowFlags( phWndTable, nRow, ROW_MarkDeleted,TRUE)
When it has this flag, delete it.
(so do not check the row flag ROW_SELECTED, it is lost when deleting a row on a grid)
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: TD-22014: Issues in Grid while working on multi selection actions
Thanks Dave. I need to basically move the multiple rows from one Grid to another Grid and merge the rows with adding qty if both items are similar in Nature and then delete all selected rows.
So, Let me try this with ROW_DELETED flag for both tasks.
Gupta,
Can you please consider this as bug and release the fix at the earliest?
Thanks!
Siva A
So, Let me try this with ROW_DELETED flag for both tasks.
Gupta,
Can you please consider this as bug and release the fix at the earliest?
Thanks!
Siva A
Re: TD-22014: Issues in Grid while working on multi selection actions
Hi:
I've logged defect: TD-22014: Grid issues while working on multi selection actions
Thanks for the information.
Regards,
Victor Espinal
I've logged defect: TD-22014: Grid issues while working on multi selection actions
Thanks for the information.
Regards,
Victor Espinal
Re: TD-22014: Issues in Grid while working on multi selection actions
Hi:
This was scheduled to be fixed on TD 6.2 SP4
No release date, yet.
Thanks
Victor
This was scheduled to be fixed on TD 6.2 SP4
No release date, yet.
Thanks
Victor
Re: TD-22014: Issues in Grid while working on multi selection actions
Hi Victor,
I am not finding this bug in TD 6.2 SP4 list. Can you please let us know when this is scheduled to be released?
Thanks!
Siva A
I am not finding this bug in TD 6.2 SP4 list. Can you please let us know when this is scheduled to be released?
Thanks!
Siva A
Re: TD-22014: Issues in Grid while working on multi selection actions
Hi:
This defect has been fixed on TD 6.2 SP4.
We will be updating the SP4 list.
Thanks for the information.
Victor
This defect has been fixed on TD 6.2 SP4.
We will be updating the SP4 list.
Thanks for the information.
Victor
Re: TD-22014: Issues in Grid while working on multi selection actions
Thanks Victor for your quick response. Let me check this!.
Siva A
Siva A
Who is online
Users browsing this forum: [Ccbot] and 7 guests