cancel
Showing results for 
Search instead for 
Did you mean: 

Fix a table column and make the rest scrollable

Former Member
0 Kudos

I'm trying ot make the first column of my table fixed and the rest as scrollable. I'm able to do this , but the fixed column appears to the right of the table though I fix it to the lft. Could someone please point out where I'm going wrong .


/* Creating the attribute to hold col fixed value*/
tablenodeInfo.addAttribute("FixedPos","com.sap.ide.webdynpro.uielementdefinitions.TableColumnFixedPosition");
/* binding it to the fisrt column of table*/
qtCell.bindValue(attrInfo);
qtColumn.setTableCellEditor(qtCell);
if (attrInfo.getName().equals("Column1"))
qtColumn.bindFixedPosition(attrFixedPos);
quoteTable.addGroupedColumn(qtColumn);
/* Setting the fixed pos to left */
nodeTableElem.setAttributeValue("ColFixedPos" , WDTableColumnFixedPosition.LEFT);
/*setting scrollable column count */
quoteTable.setScrollableColCount(5);

Im able to see the fixed column but to the right of the scrollable columns .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Pooja,

There are could be several reason. Let us try the simplest to fix


quoteTable.setFirstScrollableColumn( 1 );

Not sure about method name, check it.

VS