on 04-03-2015 2:27 PM
Hi,
I have a table UI element in Webdynpro and have many columns.Now, i want to fetch it's properties dynamically e.g. visibility,read only etc..
So is there any way by which i can get all the columns of a table UI elment in an internal table and loop at it and check the properties of those columns.
Please suggest ways to achieve it.
Thanks,
Vimal
could this help:
DATA lo_table TYPE REF TO cl_wd_table.
data lt_COLUMNS Type CL_WD_TABLE_COLUMN=>TT_TABLE_COLUMN.
lo_table ?= view->get_element( ID = 'VIEW_NAME').
lt_COLUMNS = lo_table->get_columns( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.