Searching, Grouping, Aggregation,Filtering in LIST UIBB

List UIBB in Floorplan Manager provides many general  functions like searching, filtering, grouping and aggregating which can business use in many ways. The below post includes all such functions.

Firstly Lets create a list UIBB and then adopting each function one by one.The list UIBB displays SFLIGHT data.

We have the table type for SFLIGHT structure.

1

Create a feeder class and implement the interfaces.

2

Implement and activate all methods. Put the code in GET_DEFINITION & GET_DATA method.

345

Create an OVP application by using Tx- FPM_WB

6

Provide page title, add list uibb.

78

Provide the feeder class.

910

Add fields as necessary.

11

Test the application.

12

So here we have the list uibb with SFLIGHT table data. We have just enabled the Personalization and Export to data sheet buttons.

13



Go to the UIBB configuration. As high lighted there is something called – MAXIMIZE BUTTON.

14

Check the Maximize Button and Save and now test the application.

15

So here the Maximize Button appears on the list uibb. Click the maximize button.

16

The List uibb is expanded and more number of records display and the maximize replaced with minimize button or restore button. Click the minimize/restore button.

17

So the list appears as usual.

18



let’s explore more about the search function.

19

From the dropdown choose -Search as Filter(GUIBB Toolabr).

20

Save the settings and test the application.

21

Here the Search Function appears on the list header. Click the Search function button.

22

As we have selected search function as Filter. It apperas.

23

Search for any carrid and hit enter key. The list is filtered with only those carrid value. Check the number of entries displayed on list uibb decreased.

2425

Filter can be based on generic column value not a particular column value. Try with connid value and the list is filtered .

26

26



This time set the search function as – Search as Find.

27

Save the settings.

28

test the application.Click on Search Function button.

29

The search as find box appears.

30

Search for something i.e carrid value and it shows where the records appears in the list but the list remains as it is .

31



Let’s try the sorting and aggregation part. In the GET_DEFINITION method of the list feeder class provide the highlighted codes as marked below. Sorting is allowed for CARRID field and Aggregation is allowed for PRICE field.

32

Go to the list uibb configuration. Currently the Sorting/grouping is disabled.

33

Make it as – SORT- COLUMN HEADER.

34

Save and test the application.

35

For the field- CARRID the sorting option appears.

36

Choose Ascending or Descending and the LIST is sorted accordingly.

3738

Make the Sorting/Grouping as – Sort & Group – Column Header. Save and test the application.

3940

Sorting option appears for the CARRID field and Choose as Group.

41

So teh list is grouped by CARRID values.

42

We can ungroup as well.

4344

Choose Custom Sorting.

45

Choose as Ascending and select as GROUP COLUMN.

46

Some new things appears. just make it ok.

47

So the list appears as follows.

48

Again go to the custom sorting .

49

Select the Hide Count in Grouping Header.

50

The hit number for each CARRID is hidden.

51

Select hide column label in grouping header.

52

It disappears.

53

Clear the custom sorting.

5455

The list appears as simple.

56



Go to the GUIBB Settings and choose Default Sorting/grouping.

59

The below pop up appears.

60

Choose – Sort by as CARRID. 

61

Select Collapse Occurs on application start. OK.

66

Choose Default Aggregation.

62

The below pop up appears.

63

Provide field as PRICE and OK.

64

Save the settings and test the application. The the list appears as follows with Aggregation on Price based on CARRID group.

68

69

Change the Default Sorting/Grouping.

59

Save it.

70

Test the application. The list appears with out collapsed.

71



Lastly about Filtering. Put the below highlighted code in GET_DEFINITION method.

72

Go to the UIBB configuration.

73

Change the filtering as Column Header. Save and test the application.

7475

So here the filtering option appears for the CARRID field.

7677



 

Advertisements

4 comments

  1. I have one search uibb and displaying result in list uibb.. after first search i put filter on one column in search result.

    when i am again searching .. filter is not getting reset … can you please suggest how can we reset filter?

    Like

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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