cancel
Showing results for 
Search instead for 
Did you mean: 

Table Display In webdynpro

Former Member
0 Kudos

Hi All,

In web dynpro, I have an tree structure and a table control. I should make that table to be displayed adjacent to tree. I used matrix layout but the table is displayed in the footer of that tree (i.e) neat the last node of that tree.

Can you suggest me any other layout / how to make the table display in this same layout.

Regards,

Mano.

Moderator message : Post the question in Web dynpro forum, thread locked.

Edited by: Vinod Kumar on Feb 9, 2012 3:19 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If both are a part of the ROOT or same container, then click on container and set to GRID Layout and change column count to 2

Just curious...did you set them to Matrix head data and Matirx row data

Former Member
0 Kudos

Hi Mano,

change vAlign property to 'Top' (You probably have 'Bottom' value).

It is in LayoutData part.

If You want adjacent elements, that GridLayout is preffered one (use MatrixLayout for forms).

In case of GridLayout also change vAlign property.

Regards,

--

Przemysław

Former Member
0 Kudos

hi have tried this

data lo_cmp_usage type ref to if_wd_component_usage.

lo_cmp_usage = wd_this->wd_cpuse_alv_output( ).

if lo_cmp_usage->has_active_component( ) is initial.

lo_cmp_usage->create_component( ).

endif.

data lo_interfacecontroller type ref to iwci_salv_wd_table .

lo_interfacecontroller = wd_this->wd_cpifc_alv_output( ).

data lv_value type ref to cl_salv_wd_config_table.

lv_value = lo_interfacecontroller->get_model(

).

lv_value->if_salv_wd_table_settings~set_visible_row_count( '15' ).

lv_value->if_salv_wd_table_settings~SET_SCROLLABLE_COL_COUNT( '8' ).

lv_value->if_salv_wd_std_functions~set_filter_complex_allowed(

abap_true ).

lv_value->if_salv_wd_std_functions~set_filter_filterline_allowed(

abap_true ).

lv_value->if_salv_wd_std_functions~set_dialog_settings_allowed(

abap_true ).

lv_value->if_salv_wd_std_functions~set_dialog_settings_as_popup(

abap_false ).

lv_value->if_salv_wd_std_functions~set_display_settings_allowed(

abap_false ).

lv_value->if_salv_wd_std_functions~set_edit_insert_row_allowed(

abap_false ).

lv_value->if_salv_wd_std_functions~set_edit_append_row_allowed(

abap_false ).

lv_value->if_salv_wd_std_functions~set_edit_check_available( abap_false

).

lv_value->if_salv_wd_std_functions~set_export_allowed( abap_TRUE ).

lv_value->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).

lv_value->if_salv_wd_std_functions~set_edit_delete_row_allowed(

abap_false ).

lv_value->if_salv_wd_std_functions~set_edit_undo_allowed( abap_false ).

lv_value->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).

lv_value->if_salv_wd_table_settings~set_first_visible_row( '0' ).

data: lr_column_settings type ref to if_salv_wd_column_settings,

lr_header type ref to cl_salv_wd_column_header,

lr_input_field type ref to cl_salv_wd_uie_input_field,

lr_checkbox type ref to cl_salv_wd_uie_checkbox,

lr_column type ref to cl_salv_wd_column.

lr_column_settings ?= lv_value.

**--sno

lr_column = lr_column_settings->get_column( 'DEALER_CODE' ).

lr_header = lr_column->get_header( ).

lr_column->set_position( '1' ).

lr_header->set_text( 'CUSTOMER NO' ).

lr_header->set_tooltip( 'CUSTOMER NO' ).

lr_header->set_ddic_binding_field( ).