on 12-27-2012 9:45 AM
Hi folks,
I need to display such a structure in my table.
Column1 Column2
Image1 + Text1 Text12
|_
Image2 + Text2 Text22
|_
Image3 + Text 3 Text 32
I created a table with a TreeByNestingTableColumn(for column1) and one regular column(for column2).
The problem, that I am facing here is, I can display either Image or Text under Column1, but not both.
I need to display them together with the node icon(which will come from TreeByNestingTableColumn).
Thus, the triangular icon(node icon), image and text should be displayed in the same column.
How can we achieve this?
Thanks,
Swapnil.
Hi,
If anyone is still interested in this scenario.
We recently found a solution to the above requirement.
We used Caption as TableCellEditor of TreeByNestingTableColumn.
Using Caption, we could display both the image and text along with the node icon.
Regards,
Swapnil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the first link you get on search... So replying on this..
You can get this behavior easily by implementing an Iterator in your table. Infact you can easily make the CN class itself as the iterator my implementing the interface
IF_HTMLB_TABLEVIEW_ITERATOR and assign the same as the iterator in your view.htm.
Then you can use the RENDER_CELL_START method to implement your logic to replace the P_REPLACEMENT_BEE with a BEEHIVE.
Example Components for BEEHIVE impl:
IUBOTREE--- IsuBolTree View -- Check the IMPL class.. it has an attribute iterator.. go to the class to check the render_cell_start
Example Component where context node is reused as an Iterator(check html):
FICACMP_ACC_POS -- FicaAccTotalList View
Hope this helps...
Cheers
A
Not too much option.. only a button UI can have both image and text. try to use that as tablecell editor..
Regards,
Sambaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapnil,
It is not possible to display both image + Text in same column. You can do work around for displaying both image + text.You have to use two column i.e one column for image and one column for text and then change design of the cells in a way that both cells should look like a single cell.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.