117
Views
12
Comments
Solved
[Data Grid Web] SendSelectedRows does not recognize selected rows
Forge component by OutSystems R&D
41
Published on 18 Nov 2020

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.

Rank: #28879
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

 

Rank: #49181

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

Staff
Rank: #58

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

Staff
Rank: #58

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

Rank: #70809

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

Staff
Rank: #58

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

Rank: #5400

Is this fix already released? 

Rank: #5400

i found the answer myself