on 10-04-2005 1:32 PM
i have a table report in web. the first column contains the key figures (e.g. net value). the next columns containing the monthly values. is it possible to "fix" the first column like in excel. the problemn is if you scroll to the right you don't know exactly what key figures relates to the relevant number.
any ideas?
You can have fixed width columns but the contents of the cells won't get cut off like in Excel.
To make columns fixed width, you have to go to se24, make a new class, and set the superclass to CL_RSR_WWW_MODIFY_TABLE. On the methods tab, redefine CAPTION_CELL and add code like this:
CASE I_IOBJNM_ROW.
WHEN '0MATERIAL'.
C_CELL_TD_EXTEND = 'width="60"'.
ENDCASE
Repeat the WHEN condition for every column you want to edit. 0MATERIAL is the infoobject technical name of the column. Activate the class.
Then, in your web template, switch to HTML view and look for your table object. Change the ITEM_CLASS to read:
<param name="ITEM_CLASS" value="ZCUSTOM_TABLE"/>
where ZCUSTOM_TABLE is the name of your class.
Hope this helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marc,
i think you can set the Web Table Property.
Display data from value column: Data column after which the data is displayed. (DATA_COLUMN_FROM)
and also check (DATA_COLUMN_TO) this as well..
hope this helps you.
Deepak Kunavarapu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.