[Data Grid] SendSelectedRows does not recognize selected rows

Forge Component
(38)
Published on 3 Aug (12 days ago) by OutSystems R&D
38 votes
Published on 3 Aug (12 days ago) by OutSystems R&D

I have CheckboxSelection set to True.  No matter how many rows that I select in that checkbox column, the SendSelectedRows is never enabled unless I also edit the value of a field. I checked in the DataGridExample and it functions in the same manner.

I too am having this issue. Looking through the JS code, it appears to me that the problem is in a change in "GridOS.SelectionFeature.updateSelectedBntState". I don't know exactly when it changed, but it looks like it happened some time between 2.1.9 and 2.13.3 (inclusive).

2.1.9 was adding/removing the "wj-disabled" class, depending on if any items are selected, while 2.13.3 also adds a check for "os_GridDirty" before it will add/remove the class. My grid has no editing enabled, so it will never enable the SendSelectedRows button.

I have raised a support ticket with OutSystems for resolution of this issue

Hello to all,

Thanks for bringing this subject to the discussion.

The DataGrid team is analyzing this topic and we'll get back to you with:

  • What to do the workaround this
  • What will be done in a future release

We'll keep you posted as soon as we have the answers for you.

Bruno Martinho

Bruno Martinho wrote:

Hello to all,

Thanks for bringing this subject to the discussion.

The DataGrid team is analyzing this topic and we'll get back to you with:

  • What to do the workaround this
  • What will be done in a future release

We'll keep you posted as soon as we have the answers for you.

Bruno Martinho

Bruno,

Do you have an update yet?

Thanks,
Coy Kissee

 

Hello Coy,

We are already working on it and identified a solution.

It should be released in early August, but if necessary we can share here what has been the implemented solution before.

Thanks,

Bruno Martinho

Dear, do you have a workaround available for us? I had this functioning in an older version but needed to upgrade because that old version did not support the usage of decimals in the number column type via advancedFormat. By fixing an issue I created another one :-(

thx for your help !!

Bart

Hello, we have planned a fix for August 3rd.

There will be an input parameter to allow sendind all selected data the server:

The name isn't final and the default will be False, so you need to set it to True where you want this behavior.

Will this help?

Thanks,

Bruno Martinho

Solution

Bruno Martinho wrote:

Hello, we have planned a fix for August 3rd.

There will be an input parameter to allow sendind all selected data the server:

The name isn't final and the default will be False, so you need to set it to True where you want this behavior.

Will this help?

Thanks,

Bruno Martinho

 I believe that will resolve my issue, yes.


Thanks,

Coy Kissee

 

Solution

Hi Bruno Martinho,

Thanks a lot for that.


Bruno Martinho wrote:

Hello, we have planned a fix for August 3rd.

There will be an input parameter to allow sendind all selected data the server:

The name isn't final and the default will be False, so you need to set it to True where you want this behavior.

Will this help?

Thanks,

Bruno Martinho

 yes, thanks a lot !!