Sort Not working - Please help

Hello,
  I have design2003 parameter. Im displaying table with following logic. Problem is it is not activating SORT icon thats comes in table header text line which sorts the column. What could be wrong? Please help.
<htmlb:tableView id              = "table_prod_cat"
                         design          = "alternating"
                         fillUpEmptyRows = "true"
                         headerText      = "Category_List"
                         headerVisible   = "true"
                         onRowSelection  = "prod_cat_rowselection"
                         selectionMode   = "none"
                         table           = "<%= lt_prod_cat_list %>"
                         visibleRowCount   = "<%= l_sprec_display %>"
                         width           = "100%" >
           <htmlb:tableViewColumns>
            <%-- Product Category ID --%>
            <htmlb:tableViewColumn columnName  = "product_cat"
                                   onItemClick = "prod_cat_id_itemclick"
                                   width       = "80"
                                   sort        = "X"
                                   title       = "<B>Category</>"
                                   type        = "link" />
            <%-- Product Category Description --%>
            <htmlb:tableViewColumn columnName = "CATEGORY_TEXT"
                                   title      = "<B> Category Text</>"
                                    sort      = "X"
                                    width      = "200" />
            <htmlb:tableViewColumn columnName = "PRODUCT_GRP"
                                   title      = "<B>Product Group</>"
                                    sort      = "X"
                                   width      = "200" />
            <htmlb:tableViewColumn columnName = "PRODUCT_SGRP"
                                   title      = "<B>Product Sub-Group</>"
                                    sort      = "X"
                                   width      = "200" />
          </htmlb:tableViewColumns>
         </htmlb:tableView>

Ajay,
You should use sort = "server" or sort = "none" .
sort     -               Use this attribute to activate sorting for the
individual rows and to determine who is responsible for the sorting.
NONE (default, there is no sorting), SERVER (HTMLB carries out the
sorting) and APPLICATION (the application carries out the sorting) If
you specify SERVER, you should also set the attributes keyColumn and
onHeaderClick.
I have changed your code..use this code and let me know if you get any issue.
<htmlb:tableView id = "table_prod_cat"
design = "alternating"
fillUpEmptyRows = "true"
headerText = "Category_List"
headerVisible = "true"
onRowSelection = "prod_cat_rowselection"
selectionMode = "none"
<b>sort          = "server"</b>
table = "<%= lt_prod_cat_list %>"
visibleRowCount = "<%= l_sprec_display %>"
width = "100%" >
<htmlb:tableViewColumns>
<%-- Product Category ID --%>
<htmlb:tableViewColumn columnName = "product_cat"
onItemClick = "prod_cat_id_itemclick"
width = "80"
<b>sort = "true"</b>
title = "<B>Category</>"
type = "link" />
<%-- Product Category Description --%>
<htmlb:tableViewColumn columnName = "CATEGORY_TEXT"
title = "<B> Category Text</>"
<b>sort = "true"</b>
width = "200" />
<htmlb:tableViewColumn columnName = "PRODUCT_GRP"
title = "<B>Product Group</>"
<b>sort = "true"</b>
width = "200" />
<htmlb:tableViewColumn columnName = "PRODUCT_SGRP"
title = "<B>Product Sub-Group</>"
<b>sort = "true"</b>
width = "200" />
</htmlb:tableViewColumns>
</htmlb:tableView>
Thanks!
Lakshmikandh<b></b>
Message was edited by:
        Lakshmikandh Chinnasamy

Similar Messages

Maybe you are looking for

  • ITunes Media Folder location can't be changed in Advanced Settings

    I used to keep the iTunes Media Folder on an external hard drive. Now I copied the iTunes folder to the default location on my local hard drive. Once I changed the folder location in the Advanced Settings to the default settings everything worked fin

  • A recommendation for a stand alone keyboard

    HI all please can I have a recommendation for a stand alone midi keyboard for my 9 year old to plug into G.B. THANKS ALOT Happy holidays Dale

  • Clean dispose a thread

    Hi, I am trying to cleanly dispose from a thread after it's completed it's execution. However I see the activeCount in ThreadGroup increase with each new request. i,e the old threads are not being disposed after it's completetion. I am using JDK1.3 o

  • Where can I find update 7.2.0?

    Hi, Would like to update from 7.1.1 to 7.2. Could anybody please tell me where to find the Logic Pro 7.2.0 update?? I can only find 7.2.1 (and 7.2.3) and when I try to update, it gives this ALERT: An eligible Logic Pro Version was not found in the Ap

  • Accounting Entries in Projects

    Hi All Could some one please help with the accounting entries which get generated in projects , speacially for Fixed Price projects where customer has paid amount in advance and services are yet to be delivered . While AR Invoice picks the Dr a/c and