Solved TD-22014: Issues in Grid while working on multi selection actions

Report TD 5.x and 6.x bugs and possible workarounds.
a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

TD-22014: Issues in Grid while working on multi selection actions

Post by a_sivababu » 03 Apr 2015, 11:36

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
You do not have the required permissions to view the files attached to this post.

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by a_sivababu » 12 Apr 2015, 04:54

Hi Gupta,
Will there be a possibility to fix this bug in feature update or any work around for this?

Thanks!
Siva A

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by Dave Rabelink » 12 Apr 2015, 09:45

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

Code: Select all

Call SalTblSetRowFlags( phWndTable, nRow, ROW_MarkDeleted,TRUE)
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)
Regards,
Dave Rabelink

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

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by a_sivababu » 12 Apr 2015, 14:11

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

VEspinal

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by VEspinal » 15 Apr 2015, 22:18

Hi:

I've logged defect: TD-22014: Grid issues while working on multi selection actions

Thanks for the information.

Regards,
Victor Espinal

VEspinal

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by VEspinal » 21 Apr 2015, 18:53

Hi:

This was scheduled to be fixed on TD 6.2 SP4

No release date, yet.

Thanks
Victor

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by a_sivababu » 08 Jul 2015, 04:05

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

VEspinal

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by VEspinal » 08 Jul 2015, 18:39

Hi:

This defect has been fixed on TD 6.2 SP4.

We will be updating the SP4 list.

Thanks for the information.

Victor

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-22014: Issues in Grid while working on multi selection actions

Post by a_sivababu » 09 Jul 2015, 03:52

Thanks Victor for your quick response. Let me check this!.


Siva A

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 7 guests