on 12-28-2004 12:28 PM
Hi,
We're using the PDV table in some of our iViews (Java, SAP EP SP9). The columns, which we do not want to have displayed in the table, are set to "invisble" i the Java-iView using the statement:
table.setColumnInvisible( "colName" );
However, when personalizing the PDV table by clicking the pencil in the right corner, the invisible columns still shows up (and they are even marked as "visible").
Is there any way to hide these columns from the personalization?
Thanks in advance,
Rasmus
For what reason are the columns set to invisible. If, for example, you have a link in one of the columns and you are using another column as the tooltip, then you need to remove the column from the model after assigning it to the relevant column. For example
model.getColumn("<name>").setType(TableColumnType.LINK);
model.getColumn("<name>").setLinkColumnKey("<link>>");
model.getColumn("<name>").setTooltipColumnKey("<tool>");
model.removeColumn("<link>");
model.removeColumn("<tool>");
where <name> is the name of the column you want displayed, <link> is the name of the column for the link information and <tool> is the name of the column for the tooltip information.
I hope this helps
Thanks
Darrell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've now tried getting the model and then removing the column (e.g. tooltip) using the statement:
table.getModel().removeColumn( "colName" );
However, it does not seem to have any effekt on the PDV details - the columns for links and tooltips still show.
Are there possibly a cache of some sort which needs to be emptied?
Best regards,
Rasmus
Message was edited by: Rasmus Ørtoft
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.