on 09-08-2010 11:05 AM
Hello,
the standard assignmentblocks and also the custom assignmentblocks with table offer an "expand" - functionality.
If we use "expand" about 40 to 50 rows are visible on one page. ´
I´m wondering how this could be changed to 100?
Thank you
Kind regards
Manfred
Hi Manfred,
instead of visible row count try visibleRowCountExpanded = 100.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harshit,
thank you again for your answer.
I tried it also with visibleRowCount
<chtmlb:overviewTableConfig id = "Table"
table = "//BuilContactPerson/Table"
width = "100%"
visibleRowCount = "100"
/>
This leads also to an syntax error because visibleRowCount is not defined.
Any idea?
Thank you
Kind regards
Manfred
Hi Manfred,
I had done the same for quotations item list (component BT115QIT_SLSQ Vew: Items) with more than 100 items. It works perfectly fine( with expand button in case of more than 100 entries),
<chtmlb:configTable id = "AccResTable"
displayMode = "<%= lv_displayMode %>"
navigationMode = "BYPAGE"
onRowSelection = "select"
headerText = "<%= lv_headerText %>"
headerVisible = "FALSE"
table = "//BTAdminI/Table"
actions = "<%= controller->gt_button %>"
usage = "ASSIGNMENTBLOCK'"
width = "100%"
visibleRowCount = "100"
allRowsEditable = "TRUE"
Regards,
Arun
Hi,
this is rather strange. Hope you did activate the .htm after the layout change and restarted the application. Probably you could check in the debugger, what happens in the underlying class CL_THTMLB_CELLERATOR. You should check the where-used list of the attribute VISIBLEROWCOUNTEXPANDED of this class to see where this attribute is handeled and what's its value at runtime. By the way this class defaults the VISIBLEROWCOUNTEXPANDED to 50. So probably you could also consider a modification of this class, if the outlined approach does not succeed.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manfred,
you need to set the attribute usage = ASSIGNMENTBLOCK at the tag <chtmlb:configCellerator> to force rendering of the expand feature.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael, Hi Harshit,
no my .htm looks like this.
But his has no effect on the visible rows in expand-mode - still 50.
The only effect is that my assignmentblock is now displayed with an ugly table grid.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="bsp" prefix="bsp" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<thtmlb:areaFrameSetter toolbarButtons = "<%= controller->gt_button %>"
maxButtonNumber = "3" />
<chtmlb:configCellerator id = "Table"
table = "//BuilContactPerson/Table"
width = "100%"
usage = "ASSIGNMENTBLOCK"
visibleRowCount = "100"/>
Kind regards
Manfred
Hi Manfred,
you would need to substitute the <chtmlb:overviewTableConfig> tag by the <chtmlb:configCellerator>.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Guys,
thank you very much for your answers.
I haven´t found the solution yet.
@Harshit: With your proposal i´m getting syntax errors if i try to activate.
@Michael: With your proposal the "expand"-Link in the assignmentblock was gone (no longer visible).
The view i´m trying to change is:
component: BP_DATA
View: AccountContactsCurrentOV
Thank you
Kind regards
Manfred
Hi Manfred,
just checked in the system. The config table tag does not offer the parameter, but the cellerators like <chtmlb:configCellerator> do. So if you step to the .htm layout of your assignment block you could try to replace the <chtmlb:configTable> tag with the <chtmlb:configCellerator> and use the parameter visibleRowCountExpanded to define the row count for the expanded assignment block (default in the underlying class of the tag is 50). The tag itself is used for instance in the UI component BEABDH_BILLDOC.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manfred,
did you try to set the visibleRowCountExpanded attribute in the layout for the <thtmlb:cellerator> or <chtmlb:configTable> tag?
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mannif
You can use the BSP element "cellerator" which has this attribute "visibleRowCountExpanded" which needs to be a set a value.
It ahs to be done in the *htmpl page of the view. An exmaple could be something like this.
<thtmlb:cellerator id = "tv1"
actions = "<%= controller->gt_button %>"
actionsMaxInRow = "3"
editMode = NONE
fillUpEmptyRows = "FALSE"
usage = "SEARCHRESULT"
personalizable = "FALSE"
onRowSelection = "select"
onHeaderClick = "sort"
showEmptyTableText = "FALSE"
iterator = "<% = lv_iterator %>"
horizontalScrolling = "<%= lv_hor_scroll %>"
table = "//CondRecList/TABLE"
tableLayout = "FIXED"
visibleRowCount = 40
visibleRowCountExpanded = 50
width = "100%" >
</thtmlb:cellerator>
Hello Michael, hello Abishek,
i tried it with very strange results on the frontend. Maybe i added the coding on the wrong place.
Here is my .htm like it is in standard.
could you please tell me how i need to change this:
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="bsp" prefix="bsp" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<thtmlb:areaFrameSetter toolbarButtons = "<%= controller->gt_button %>"
maxButtonNumber = "3" />
<chtmlb:overviewTableConfig id = "Table"
table = "//BuilContactPerson/Table"
width = "100%" />
Thank you
Kind regards
Manfred
Hi,
Please see if you can modify,
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="bsp" prefix="bsp" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<thtmlb:areaFrameSetter toolbarButtons = "<%= controller->gt_button %>"
maxButtonNumber = "3" />
<chtmlb:overviewTableConfig id = "Table"
table = "//BuilContactPerson/Table"
width = "100%"
visibleRowCount = 100/>
Rg,
Harshit
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.