Selecting multiple rows in an advanced table is a very common requirement in any project. Be it deleting rows or copying rows we need to know how to select the rows first before writing code for the functionality .So now let us see how to select multiple rows in a Advanced table.
Â
Don't have an Vision instance to practice these tutorials? Visit http://cholagls.com/products-/11i-virtual-machine for details.Our smart solution to smart people like you !!
In the table components you can see that a new item has been created called tableSelection->multipleSelection.
Before setting the properties we need to create a new attribute in the VO which is being referenced in the region. A attribute called SelectFlag which will determine if the check box is being selected or not. Click multipleSelection1 and set the View Instance and View Attribute. View attribute will be SelectFlag.
Create a new method in AMImpl.java file. Add the following code:
Â
Â
Â
Related Posts:
Set as favorite
Bookmark
Report Article
Hits: 1542
Trackback(0)
Comments (3)

jegnathan@gmail.com
said:
|
Add row in table Hi, I have created a table and a button named "Add Row". While clicking the Add Row button i want to add a row in the table. How can i do it. Please help me. Thanks in Advance, Jegan |
|
Sudhakar Mani
said:
|
... Hi Jegan, While clicking the Add Row button,catch the event in controller and invoke a method in AM which will be some thing like below.
|
|
Ganesh
said:
|
... Hi, I have a requirement like... I am having a table and a button"Add More Rows", when I click the button it will open another page where I can search and select multiple records and click Apply button. Now I need to get the data and have to display in the table. Once the data is populated into the table I need to save the data into the database through VO. I am little bit confused, how to get the mutliple records through request and how to insert all the records? Please suggest me Thanks in Advance |
|
Write comment

















