on 06-23-2008 8:12 AM
Hi,
I was wondering if it as possible to increase number of rows of the table element in the interactive form using the wdDoInit() method? Thanks in advance
Regards,
William
Hi,
Thx for helping.. I have been looking through the codes that you have given but i do not really understand it. Do you mind explaining?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure you can, if you bind the table to the table node in your context, you can add a row doing the wdDoinit of wdDohandleresult.
something like:
data: ls_line type string,
lt_line type table of string.
do 10 times.
append ls_line to lt_line.
enddo.
data: hdl_node TYPE REF TO if_wd_context_node,
node_pd_line TYPE REF TO if_wd_context_node.
* set single attributes
hdl_node = wd_context->get_child_node( name = 'PDFDATA' ).
hdl_node = hdl_node->get_child_node( name = 'FORMDATA' ).
node_pd_line = hdl_node->get_child_node( name = wd_this->wdctx_hv_line ).
node_pd_line->bind_table( lt_line ).
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.