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

  • How to update data in third SQL query type report (M-D are first two!)

    I have page made through M-D Form wizzard. Third report (let's call it detail2) shows same fields as detail grid but some fields are "Standard Report column"-not editable as records in detail1 report. WHERE part in both detail reports are opposite. S

  • How to maintain Strict Ordering of messages using SOA Suite where AQ is used for persistence.

    The requirement is this - Source DB -> Poller DB Adapter-> BPEL -> AQ -> DEQUEUE -> Target System Messages are DEQUEUED from an AQ (second part above - AQ -> DEQUEUE -> Target System) . The messages in this AQ are to be sent strictly in order to the

  • ORA-01467: sort key too long

    Hi, I am trying to run the below query in toad but getting the error "ORA-01467: sort key too long". SELECT :o, :o, MSD, 1, SUM(FLAG), DECODE(SUM(FLAGCOLOR),0,0,1), SUM(DECODE(SIGN(Tiefool), -1,'',Tiefool)), SUM(DECODE(SIGN(Tiegreen), -1,'',Tiegreen)

  • E-Sourcing NDA's

    Our company is using E-Sourcing and our buyers are asking me if there is a way to manage Non-Disclosure Agreements in E-Sourcing  The NDA is a form that we ask our suppliers to sign before we do any business with them.  Does anyone know if there is a

  • Problem with scroll tab layout in JtabbedPane

    Pls. if anyone know this, help me I have a problem, my scroll tab layout policy does not working when I set it to UI. import javax.swing.*; import javax.swing.plaf.basic.*; import java.awt.*; import java.awt.event.*; import javax.swing.event.*; impor