Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

event table.

Former Member
0 Likes
505

what is event table.?plz tell

3 REPLIES 3
Read only

Former Member
0 Likes
471

Hi Srinath

hope this will help you.

reward if help.

Table Events

Events in the View Designer

● onFilter

The display of rows in a table can be restricted using the onFilter action. This can improve the overview of the information contained in a table.

The Table UI element and the TableColumn element provide the application developer with an interface to display a so-called filter row. The filter row is displayed right below the column header area and does not change position when the user browses.

The filtering of table entries requires:

○ ^The option to specify a criterion for each table column to restrict the result list

Each table column enables you to bind its filterValue property to a context attribute that defines the value to be filtered. Due to the binding of this property to a context attribute, an input element, which can be used to enter the value to be filtered, is displayed in the column below the column header area. If the value set is assigned to the attribute, a drop-down box is provide instead of an input field. To use the value set for the filter, this must contain an entry with an initial value to reset the filter. At runtime, the filter input of the user is located in the context attribute to which the property is bound.

○ The option to start the filter process

The Table UI element provides the onFilter property, which can be associated with an action.Due to the association with an action, the filter row is displayed in the table. The filter row contains the button as the first element on the left side. When the user chooses this button, the associated action is executed.

The logic of the filter process is not implemented in Web Dynpro. The application developer must implement the action to be executed.

● onLeadSelect

Action executed when the lead selection of the table is to be changed (see selectionChangeBehaviour).

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

COL

STRING

ID of the column

NEW_ROW_ELEMENT

STRING

OLD_ROW_ELEMENT

STRING

ROW

I

Row number

● onScroll

Action executed when the user scrolls through the table. (Use this event only for Context Paging.)

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

NEW_FIRST_VISIBLE_ROW

I

New first visible row

OLD_FIRST_VISIBLE_ROW

I

Old first visible row

● onSort

Action executed when the user sorts the table.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

COL

STRING

ID of the column you want to sort

DIRECTION

WDUI_TABLE_COL_SORT_DIR

Sorting direction

reward if help.

Read only

Former Member
0 Likes
471

hi srinath,

the below site may be helpful to u

http://help.sap.com/saphelp_nw04/helpdata/en/9b/d080b49fc111d2bd68080009b4534c/content.htm

REWARD IF USEFUL

Thanks and regards

suma sailaja pvn

Read only

Former Member
0 Likes
471

Hi Srinath,

Follow this link it will be very useful for u:

http://help.sap.com/saphelp_erp2005/helpdata/en/2d/390e422dfcde2ce10000000a1550b0/content.htm

Reward Points if useful srinath

thanks,

swaroop.