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

TableSorter problem with boolean value

Hi,

We have a table with boolean attributes that are associated to CheckBox UI elements.

When Sorting according to a columns which is boolean (the UI element is Checkbox) we get a ClassCastException.

Any ideas?

Thanks,

Aviad

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2007 at 03:34 PM

    What exception do you have???

    Vito

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2007 at 05:11 AM

    Hi Aviad,

    Which EP version are you using? and do you want sort that boolean field also?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2007 at 05:17 AM

    this is for the old table sorter

    look at the new table sorter.

    /people/bertram.ganz/blog/2006/03/07/enhanced-web-dynpro-java-tablesorter-for-sap-netweaver-04s

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2007 at 05:37 AM

    Hi Avaid,

    In EP 7.0 you wont get this problem. If you are using the earlier versions, pass the columns individually in the wdDoModifyView.

    regards,

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2007 at 04:29 PM

    look at the code of table sorter.

    You can either give a String[] of sortable columns or a null, if it a null the table sorter sort all columns

    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.