Using Checkbox to Select Rows in a Table in Visual Builder by Shay Shmeltzer


This blog will show you how to add a checkbox to rows in a table to allow you to pick specific rows. Note that an alternative approach to selecting multiple rows in a table is to use the built in multi-row selection capabilities of the JET table as shown here, but some users find it easier to use a check box so…

To achieve this, you’ll want to base your table on an ArrayDataProvide rather than an ServiceDataProvider – this way you’ll be able to access the values in the rows later to figure out which ones were selected.

You’ll add a new boolean attribute to your ADP to track if a row is selected or not – selecting a row will turn the value of this attribute to true.

For the check box, we are going to use the “boolean checkbox component” – one of the components available in the Visual Builder Component Exchange. Once you add the component to your VB application, you can drag it onto your table’s empty column, and hook the value of the new boolean field you introduced. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.