Quantcast
Channel: SCN : Discussion List - Business Server Pages (BSP)
Viewing all articles
Browse latest Browse all 237

How to position a checkbox within a tableview

$
0
0

Hi All,

 

I'm currently developing an application using a tableview iterator.

 

One of the fields is to be displayed as a checkbox using the cl_htmlb_checkbox class. The code is embedded inside the 'RENDER_CELL_START' method of the table iterator class as follows:

 

DATA chk TYPE string.

chk = m_row_ref->xspeb.
p_replacement_bee = cl_htmlb_checkbox=>factory( id = p_cell_id                                                checked  = chk ).

 

XSPEB is a char1 field.

 

The problem is that the check box displays as left justified within the field cell when it is displayed on the screen.

 

Does anyone know how to force a checkbox to be centrally justified within a field cell in a table view iterator?

 

Thanks,

 

Nick.


Viewing all articles
Browse latest Browse all 237

Trending Articles



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