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.
For regular information become a member in the Developer Partner Community please register here.
Blog Twitter LinkedIn Facebook Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic