Skip to Content
author's profile photo Former Member
Former Member

Table personalization and sorting


I need allow the user to personalize table columns he/she can see.(I have a table with a lot of columns and each user need to see different columns). Is it possible?(sb said me that it was possible with PDV but it is deprecated now).

Next thing is that i need to add buttons to each column header of table for sorting by this column value, how to do it?


Jiri Juranek

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 11, 2004 at 10:03 AM

    Hi Jiri,

    for the sorting topic, you already have encountered this thread /thread/16417 [original link is broken] The answer Stefan Batzdorf gave is the way it should be done. For the sorting implementation, maybe some code gets posted, if not, it shouldn't be that problem to get it on your own. I'm thinking about doing it a generic way, maybe a nice topic for a weblog, but my time... my time... 😊

    For the personalization topic: The PDV supported this (at least the doc said so, see data viewer presentation ). But: The PDV is not longer supported itself.

    So it seems the only way to achieve this goal is implementing it by your own hands... This could also be a nice task to do it generic to be reusable with every table(view).

    Hope it helps


    PS: Ooops, didn't realize that it was the webdynpro forum; sorry, sorry, sorry (but it was the PDV hint which lead me on the wrong track).

    Message was edited by: Detlev Beutner

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2004 at 12:58 PM


    as long as table personalization is not yet provided by the Web Dynpro framework:

    To show a user-specific subset of all table columns, you could do something like:

    - Store the user-specific configuration in some controller context (which gets filled from the backend or something...)

    - If you have a fixed set of columns, you could provide a corresponding set of boolean view context attributes that represent the column visibility. Bind the IWDTableColumn.visible property for each column to the corresponding attribute

    - If your column set is completely dynamic, you could set the column visibility by writing some code in the wdDoModifyView() method

    Sorting a table:

    See the table tutorial

    Regards, Armin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.