How to Create Sequence in ADF
Today we all know about a word Sequence which is very common in Mathematics like 1, 2, 3, 4, 5 and so on.. Here we will use this Sequence trick in ADF JDeveloper. Oracle Application which is one of the best tool provides us easy way to perform any functionality with write less code and get more. In this article we are creating a column and that is not your database column. When you creating a new row it is quickly create your serial number in columns
Step 1:
- First you need to search a column in Component Palette and drag a column in your table block (Picture # 1)
- Then you set columns property (Picture # 2)
- Header Text : Sr No.
- Align : Center
- Width : 50
Step 2:
- Now Search Output Text component in Component Palette, drag and drop in that column (Picture # 3)
- Now write a simple code in Output Text Property (Picture # 4)
- Value : #{vs.index+1}
After adding code you will you output text has been changed automatically into serial number / sequence. So enjoy after perform this simple ADF trick. If you have any query regarding this article then comment below..
No comments:
Thank you for your comment...!