1252
Views
18
Comments
Bulk checkbox for list records
Question

Hi,

I want to place a bulk checkbox on the header column so that it will select all the records in the list record (Not table records).
I have already used the normal checkbox in widget for selecting individual record.
I tried using List_BulkSelect, but somehow I am missing on to something.
Can someone please suggest how to correct things.

Thanks,
Anagha


Rank: #233

Hi Anagha,


Found this forge component that shows how to do it: https://www.outsystems.com/forge/component/694/rich-widgets-sample/?Unfollow=False.


Example:

https://andrefmota.outsystemscloud.com/RichWidgetsSample/ListBulkSelect.aspx?(Not.Licensed.For.Production)=


Cheers,

Renato


Anagha Chikate wrote:

Hi,

I want to place a bulk checkbox on the header column so that it will select all the records in the list record (Not table records).
I have already used the normal checkbox in widget for selecting individual record.
I tried using List_BulkSelect, but somehow I am missing on to something.
Can someone please suggest how to correct things.

Thanks,
Anagha




Rank: #1230

Hi Anagha,

Please Check out that Link. Hope it will help you.


-Hitesh

Rank: #3326

These links did not really help me. Sorry.
I think i'll have to do it with javascript.

mvp_badge
MVP
Rank: #5

Anagha,

List_BulkSelect needs only for you to set in which table records it is (the id of the table), and if you want to control any links (enabled when there is at least a single check box checked, disabled otherwise). If you don't want to worry about it, you just set it to "".

What is the problem you're having to use it?

Cheers.

Rank: #3326

Thank You Eduardo,

Can you please suggest what changes are needed to be done in JS to make it work. Sorry for bothering you.


mvp_badge
MVP
Rank: #5

Hi Anagha,

You don't bother.
I can't do this right now.

Maybe later this night I'll be able to provide a solution.

Cheers.

mvp_badge
MVP
Rank: #5

Hello,

Sorry, not yet. I'll try to do it today, but no promisses.
If you are on a schedule, you may need to look for a workaround.

Cheers.

mvp_badge
MVP
Rank: #16

Hi Anagha,

Updated my component https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=2526 to help you achieve what you need.

Regards,

Marcelo

Rank: #17367

Hi Marcelo,

Have you updated this for the new version of Outsystems?  Does anyone have anything that will work?

- Jef

mvp_badge
MVP
Rank: #16

Hi Jeffrey,

Uploaded a O11 version.

Regards,

Marcelo

Hi! Can I disable a radio button when selecting another radio button?

For example, If the user did not choose the closed radio button the LGU and Tenant radio button will be disabled 

Please see the image below.


Hi!

Now, I would like to ask about the list bulk select. Can I use this to accept all records and transfer them to another table? 

Example 

table1.Customerdetails

                     

NameAgeNumber
Mark181
John232
Paul213

If I accept the first row which is mark. The data of mark from table 1 will be deleted and transffered to table2.FNLCustomerdetails

Table2.FNLCustomerdetails

NameAgeNumber
Mark181


Thanks!

mvp_badge
MVP
Rank: #19

Hi Mark,

The behavior of List_BulkSelect is simply to automatically tick all checkboxes in a Table Records. So if the existing business logic handles checkboxes being ticked in multiple rows, since List_BulkSelect will allow the user to tick all checkboxes in all rows, your business logic would "just work" with no further changes.

If this is not your goal, I would suggest you to create a new topic (like you did for your previous question) as this is not related to the original post (how to have the behavior of the List_BulkSelect but on a List Records instead of a Table Records).

Hope this helps!