Quantcast
Channel: SCN: Message List - Toolbar buttons - view directly assigned to window
Viewing all articles
Browse latest Browse all 9

Re: Toolbar buttons - view directly assigned to window

$
0
0

Hello,

 

In the .htm page of the view,

 

Try below code:

 

<%

  DATA: ls_buttons type CRMT_THTMLB_BUTTON,

           lt_buttons type CRMT_THTMLB_BUTTON_T.

CLEAR ls_buttons.

ls_buttons-type = cl_thtmlb_util=>gc_icon_edit.

ls_buttons-text = 'Edit button'.

ls_buttons-on_click = 'TOOLBAR'.

ls_buttons-enabled = 'X'.

append ls_buttons to lt_buttons.

 

%>

<thtmlb:toolbar id = "Myfirsttoolbar"

                 buttons = "<%= lt_buttons %>"

                 foreignUse = "true"

                 maxButtonNumber = "5" />

 

This should work.

 

Regards,

Ashik


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>