cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Table UI element

Former Member
0 Kudos

Hi Friends,

I am creating a dynamic Table UI element using the method

CL_WD_DYNAMIC_TOOL=>CREATE_TABLE_FROM_NODE() by supplying the needed parameters....in this the table will be created with the cell ediror of the table as a text view. Instead i want to use an input field as a cell editor....where and how to supply that information in this case....

If anyone has any clues..pls help.

Thanks,

Sankar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi shankar.......

instead of using CL_WD_DYNAMIC_TOOL=>CREATE_TABLE_FROM_NODE() , you can use CL_WD_TABLE=>new-table(). in htis method you have the option for setting the table in display or edit mode.

---regards,

alex b justin

Former Member
0 Kudos

Hi Alex,

Ya, I understand that, so you mean to say using the Create_table_from_node we can not change the display?

However using the new_table involves more coding that the other one, is not it?

Thanks,

Sankar

Former Member
0 Kudos

hi sankar.........

you might not need that much of codings because you will just pass values to that method. your view name, parent name,... etc. it will work.

-


regards,

alex b justin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I can't check on a highly upgraded platform,

but in the early service packs, there's only textviews.

Please take a look in se 80 into the class method, have a look at the

coding just underneath

CL_WD_TABLE_COLUMN=>NEW_TABLE_COLUMN(

view = view

id = col_id

VISIBLE = CL_WDL_CORE=>Visibility_visible

).

if there only the new_textview is given, there's no way to change it, but copy pasting

the logic and change it to new_input_field( ).

grtz,

Koen