cancel
Showing results for 
Search instead for 
Did you mean: 

tableview footer

Former Member
0 Kudos

Hi all,

CAn i create some space between the arrow buttons of the navigation button in the tableview footer for better layout?

Please raise any pointers if any.

Thanks in advance

Shilpa

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

First Reply/Reward/close below thread..

Regarding your question:

When you use HTMLB, in background its generates the HTML/JavaScript code. In order to achieve your needs, you need to modify the generated code..

You can do that with runtime->get_cdata & runtime->set_cdata in OnManipulation.

In onManipulation event use the following code to get the response string and modify the string to add your javascript.

CALL METHOD runtime->get_cdata
   RECEIVING
     data = test.

* Now string test will have line generated HTML code..
 
* Search for string which is responsible for footer icons.
* add space to that using HTML code
* Set the modification back
runtime->set_cdata( test ).

<i>* Reward each useful answer</i>

Raja T

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Shilpa,

Would you be able to explain as to how your problem was solved ??

Thanks in advance.

Tatvgana

Former Member
0 Kudos

Problem solved.

Thanks Raja

Former Member
0 Kudos

Hi Raja,

I have declared a string text in page attribute.

and placed this code in onmanipulation as told by u

CALL METHOD runtime->server->response->get_cdata

RECEIVING

data = test.

and when i debugged the code, the 'test' contains only this code

##########<html><head><title>List</title>## <meta http-equiv="Content-Type" content="text/html;charset=utf-8" ><meta http-equiv="imagetoolbar" content="no"><script type="text/javascript" language="JavaScript" src="/sap/public/bsp/sap/htmlb/events.js?00

This is a very small code so I am not able to identify where to make changes.

Kindly reply

Thanks

Shilpa