Sort property in table

Hi,
I want to disable the sort property for one condition how to disable it using sortlistener from the backing bean??
Please help..
thanks and regards,

Hi,
U can use ELExpression in the af:column level sortable property ie. sortable="#{viewScope.sortingApplicable}" and u can assign true or false for it in ur action
Just refresh the table by giving partial triggers it will work
Regards,
Suganth.G

Similar Messages

  • Avoiding Blind query from executing while clicking sort button on table.

    Hi All,
    I am using jdev11.1.1.6
    I made a simple ADF search page with few mandatory search criteria's.
    The result table can be sortable and filterable by the user.
    The page is working fine as expected with the search criterai's, but i found a problem in the page.
    Once my page got loaded, before entering any search criteria, if i scroll down to the result table and clicked on the "sort" button on any column, my base page query is getting executed
    without any search criteria i.e a blind query is getting executed. i need to restrict this. This is not expected.
    Is there any inbuilt properties for restricting this or this has to be done manaully.
    please help me with this issue.
    Regards
    Siva
    Edited by: Minion on Oct 18, 2012 11:13 AM

    Hi Pandu,
    Thanks for the response,
    I am having more than 80 columns in the table, this means, i need to set the sort property for each and every column separately?
    Do we have any table level property to restrict it.
    First of all is this an intended behavior of ADF ?
    I have implemented few security to access my page, such that only few user can able view all data by restricting few search criteria's result.
    But due to the above mentioned problem my works on implementing security is not working. regardless of the type of user if i just click the sort button its giving all the data for all users.
    Please guide me a best method for restricting this
    Regards
    Siva

  • How do you sort the entire table in numbers with OSX Maverick?

    Before the upgrade of Numbers 3.0 & Maverick, you use to sort the enire table by (1) Highlighting the entire table, (2) using the drop down arrow in the columns, (3) select the option to set your sort requirements.
    Now, I am not able to find a way to do this.
    Please help!

    Frederick -
    Thanks for the idea, however, I'm trying to Reoganize my entire table.  I'm afraid it is a very convient function that has been removed. 
    Sad to think that the ones designing these programs, don't actually use them.
    ~K~

  • Sort the internal table based on the vendor field

    hello experts,
    I am stuck with a small problem...
    I am uploading the data for partner association for vendors through lsmw BI program.
    I am collecting all the records in the end of trasaction and downloading all those records on to the apps server.
    I declared one internal table as
    TYPES: BEGIN OF type_erecord,
            mesg(1000) TYPE c,
            END OF type_erecord.
    DATA: t_precord type standard table of type_erecord initial size 0,
                w_precord type type_erecord.
    I am concatenating all the fields and moving to the internal table..
    concatenate zvendor_master-source  zvendor_master-lifnr  blf00-lifnr                   
                      zvendor_master-lname    zvendor_master-parvw
                      zvendor_master-psource  zvendor_master-pname
                      zvendor_master-lifn2        bwyt3-lifn2
                      zvendor_master-ekorg      zvendor_master-werks   
                      w_PLANT-muplant           zvendor_master-defpa
                      v_message
          into w_precord-mesg separated by c_pipe.
          append w_precord to t_precord.
    now at the end I have to sort this internal table t_precord based on blf00-lifnr
    can any one guide me how to do it
    Thanks for your anticipation
    Nitesha

    OK...
    Than you can create one more table and do the process of sorting and than put data into the final table.
    TYPES: BEGIN OF type_erecord,
    mesg(1000) TYPE c,
    END OF type_erecord.
    DATA: t_precord type standard table of type_erecord initial size 0,
    w_precord type type_erecord.
    TYPES: BEGIN OF type_erecord_1,
    mesg(1000) TYPE c,
    lifnr type blf00-lifnr ,  "<<<
    END OF type_erecord_1.
    DATA: t_precord_1 type standard table of type_erecord initial size 0,
    w_precord_1 type type_erecord.
    I am concatenating all the fields and moving to the internal table..
    concatenate zvendor_master-source zvendor_master-lifnr blf00-lifnr
    zvendor_master-lname zvendor_master-parvw
    zvendor_master-psource zvendor_master-pname
    zvendor_master-lifn2 bwyt3-lifn2
    zvendor_master-ekorg zvendor_master-werks
    w_PLANT-muplant zvendor_master-defpa
    v_message
    into w_precord_1-mesg separated by c_pipe.
    w_precord_1-lifnr = blf00-lifnr .  " <<<
    append w_precord_1 to t_precord_1.   " <<<
    SORT T_PRECORD_1 by LIFNR.  " <<
    LOOP AT T_PRECORD_1 into w_precord_1.
      move-corresponing w_precord_1 to w_precord.
      append w_precord to T_PRECORD.
      clear  w_precord .
    endloop.
    Regards,
    Naimesh Patel

  • How to sort an internal table with a header line?

    hi all,
    i have declared table i_bseg type standard table of bseg with header line.
    now i have populated data in i_bseg.
    now i am sorting it by bukrs
    ie i am writing sort i_bseg by bukrs.
    before sorting all i_bseg-belnrs were populated...
    but after sorting the contents of  the i_bseg is changing.
    some of the belnrs are getting deleted..
    is there any special way to sort an internal table with header line...?

    hi,
    <b>SORT <itab> [ASCENDING|DESCENDING] [AS TEXT] [STABLE].</b>
    The statement sorts the internal table <itab> in ascending order by its key.<b> The statement always applies to the table itself, not to the header line</b>.
    If you have an internal table with a structured line type that you want sort by a different key, you can specify the key in the SORT statement:
    SORT <itab> [ASCENDING|DESCENDING] [AS TEXT] [STABLE]
                 BY <f1> [ASCENDING|DESCENDING] [AS TEXT]
                    <fn> [ASCENDING|DESCENDING] [AS TEXT].
    <b>this is your sort statement:  sort i_bseg by bukrs.
    you try with this statement:  sort i_bseg by bukrs STABLE.</b>
    regards,
    Ashokreddy

  • Problem with Column Sorting in Request Table View

    We've enabled column sorting on the table view in an Answers request but it doesn't work when more than around 400 rows are returned. It works Ok when fewer than 400 rows are returned. Does anyone know if there is a specific limit to the number of rows where column sorting works?
    Thanks,
    Mike

    I've dug into the query log a little more. When this request returns more than around 400 records and you click on a column heading to sort the table view, the query from the log is not changing to reflect the new sort order. It stays as whatever the default sort order was for the request.
    Column heading sorting on other requests in different subject areas on this same server works fine. I've tested this other request with up to 6400 rows returning and it's sorting works.
    All caching is turned off for the subject area.

  • URGENT can anyone let me know how to include sort buttons in table maintian

    hi
    can anyone let me know how to include sort buttons in table maintianence
    as generally table maintianec done have sort buttons i need to include the sort buttons kindly let me know on that asap
    or can we use module pool in between table maintianece screen
    if yes how touse and how to cod for that
    regards
    Arora

    You can change the coding of Table Maintenance.
    >> Goto SM30, give table name and goto Display/Maintain mode and copy all the GUI status from standard program into your function group. Add sort button in the GUI Status of Maintain & Display mode.
    >> Goto to tablemaintenance screen generated using SE51.
    >> Select change mode.
    >> After PROCESS BEFORE OUTPUT, create one module to assign your function group program name to " X_HEADER-GUI_PROG = "
    >> In PROCESS AFTER INPUT, add another module at the end to perform the action.
    -Alpesh.Saparia

  • Problem - Sort output in table (multiple columns)

    Dear all,
    First of all - Best wishes for 2008.
    I probably have an easy matter, but i can't figure it out, and on this forum very little is mentioned about the sort operator, so therefore this new post.
    I have a dashboard with some input fields (dropdown boxes).
    I have a table (as result of query) and this works fine. The table consists of several columns. (so far no rocket science).
    Generally the structure of the table is like:
    IM SBU | App. Request key | App. Request | etc....
    I want the IM SBU colum to be sorted (assending or decending doenst matter).
    But somehow the second column is the one where the data is sorted (standard).
    My guess this happends because its a key value? or its because it starts with an A (and the other with and I).
    So i insert the sort opperator, add an object (IM SBU) and select up. Then from that opperator i create a table.
    This results in a table with just 1 column (IM SBU).
    So i tried several things.
    I tried to sort on the IM SBU key (this gives the same result).
    I added all colums as an object of the sort opperator...but this still gives the same result of just 1 column.
    Any ideas?
    Regards.
    Bart

    Dear all.
    I'm wondering if  anybody else experienced errors with the sort and the amount of columns shown in a table????
    In general i have a query and want a table as output with 8 columns (sorted by 1 object). I figured out the following and will demonstrate it with 4 situations.
    Situation1 (auto fit table without sort)
    In the properties of the table i select 'frame style'= 'Primary frame' and "fit content" = 'auto'. I run the dashboard and the content of the query is good. All columns are shown and the chart width is auto determined.
    Situation 2 (auto fit table with sort)
    I want to sort on 1 object, so from query i insert a sort (select object), and from sort i create table. Then i select 'frame style'= 'Primary frame' and "fit content" = 'auto'. I run the dashboard and the content of the query is NOT good. I just get to see 1 column. But i selected 8 columns.
    Situation 3 (actual fit table with sort)
    I want to sort on 1 object, so from query i insert a sort, and from sort i create table. Then i select 'frame style'= 'Primary frame' and select "fit content" = 'actual size'. I run the dashboard and the content of the query is good (but not what i want). I get to see all 8 columns. But the table is smaller than i want. I doenst auto fit.
    Situation 4 (fit width table with sort)
    I want to sort on 1 object, so from query i insert a sort (select object), and from sort i create table. Then i select 'frame style'= 'Primary frame' and "fit content" = 'fit width'. I run the dashboard and the content of the query is NOT good. I just get to see 1 column (again). But i selected 8 columns.
    Any suggestions?
    Any known work arounds?
    Or is this an error in VC and should i request a note?
    Regards.
    Bart

  • Sorting the internal table I'm getting ......

    While sorting the internal table I'm getting one of the columns not sorted .... why is that? for example
    A   B   C
    9   2    11
    4   9    10
    8   3    7
    using ---> sort itab by A B C. gives me this
    A   B   C
    4   2    7
    8   9    10
    9   3    11
    please help?

    Hi,
    check this code,
    REPORT ZEX31 .
    data : begin of itab occurs 0,
           f1 type i,
           f2 type i,
           f3 type i,
           end of itab.
    itab-f1 = 9 .
    itab-f2 = 2.
    itab-f3 = 11 .
    append itab.
    clear itab.
    itab-f1 = 4 .
    itab-f2 = 9.
    itab-f3 = 10 .
    append itab.
    clear itab.
    itab-f1 = 8 .
    itab-f2 = 3.
    itab-f3 = 7 .
    append itab.
    clear itab.
    loop at itab.
      write : / itab-f1 , itab-f2 , itab-f3.
    endloop.
    sort itab by f1 f2 f3.
    skip 2.
    loop at itab.
      write : / itab-f1 , itab-f2 , itab-f3.
    endloop.
    sorting will be based on the order u give,
    if u give order f1 f2 f3 then first f1 will be checked and sorted in the order of it.
    o/p will be
    4  9  10
    8  3   7
    9  2  11

  • To change the initial sorting property

    hi
    In my km portal the contents (content administration ->km content) initially they are displaying in the alphabatical order, i want to change that,ie i want to see the contents in the modified date's order.
    So pls help me where i should have to make this changes ... iam beginner in km area so pls help me ..and this is urgently needed..... surely give points to helpful answers.

    Hi,
    The collection renderer you are using has a property called Property for Sorting which Specifies the initial sort property.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/87/3d48475ee8bd448c4031aa98d90524/frameset.htm]
    In your example, If you're using the standard layoutset for KM Content, go to System Administration -> System Configuration -> Knowledge Management -> Content Management -> User Interface -> Settings ->
    Collection Renderer Settings
    -> Collection List Renderer Settings -> AdminCollectionListRenderer. Find  Property for Sorting and change it from rnd:displayname to rnd:modified.
    Best regards,
    Avishai Zamir

  • Disabling sorting for a table

    Hi All,
    I want to disable the sorting function for my table. How can I achieve this? Please help...!!!
    -sps

    If you are using a JTable, by default row sorting is unable. Infact, to provide you the Table sorting, you have to put the line
    JTable table = new JTable (...);
    table.setAutoCreateSorter (true) //this enableinto your code or writing a RowSorter.
    Otherwise there's no sorter for the Table and you can't do any kind of sorting.
    Regards,
    Maurizio

  • Sorting techinque without using sort statement /Comparing table fields.

    Hi,
    How to achieve sorting techinque without using sort statement in tables.
    Also how to compare fields of 2 custom tables and check their compatability without using code ?

    Hi,
    Refer the below program, it will be helpful.
    types: begin of t_int,
             int type i,
            end of t_int.
    data: it_int type standard table of t_int,
           wa_int type t_int,
           wa_int1 type t_int.
    wa_int-int = 70.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 50.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 20.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 30.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 23.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 23.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 32.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 77.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 99.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 1.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 11.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 90.
    append wa_int to it_int.
    clear wa_int.
    wa_int-int = 40.
    append wa_int to it_int.
    clear wa_int.
    data: wk_line type i.
    data: cnt type i.
    data: cnt1 type i.
    describe table it_int lines wk_line.
    clear: cnt,cnt1.
    data wk_flag type c.
       clear wk_flag.
    while wk_line gt cnt1.
       cnt = cnt + 1.
       read table it_int into wa_int index cnt.
       cnt1 = cnt + 1.
       read table it_int into wa_int1 index cnt1.
       if wa_int-int lt wa_int1-int.
         modify it_int from wa_int index cnt1.
         modify it_int from wa_int1 index cnt.
         wk_flag = 'X'.
       endif.
       if cnt1 eq wk_line.
         clear: cnt, cnt1.
         if wk_flag eq 'X'.
         clear wk_flag.
         continue.
         else.
           exit.
         endif.
       endif.
    endwhile.
    loop at it_int into wa_int.
       write: / wa_int-int.
    endloop.

  • Sort a Transparent Table

    Hi
    how can i sort a trnsparent table.
    Regards
    Arun

    Hi Arun,
    There's no such a thing as sorting a transparent table. Or any other kind of table in the database for that matter.
    If you want to sort the data, you would most probably be needing to do it for the purpose of a report or some other <i>application</i>. In that case, you would have to fetch the data from the database table into an internal table in your program and then sort the data using the SORT statement on internal table.
    Hope this clears your doubt. But in the future, it would certainly help us respond to your queries if you are more articulate about your requirement.
    Regards,
    Anand Mandalika.

  • Can you sort in a table?

    I am  working on a massive table of all files on my computer to "clean things up." Can I sort in a table in InDesign (CS4) OR Should I have done this in Excel??? OR is it easy enough to export all info without too much fuss to Excel if sorting in a table is not an option in InDesign.
    Thank you.

    You might want to have a look at this: http://www.dtptools.com/product.asp?id=atid
    Bob

  • What is the difference between standard,sorted and hash table

    <b>can anyone say what is the difference between standard,sorted and hash tabl</b>

    Hi,
    Standard Tables:
    Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition.
    This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command). The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to
    the number of table entries.
    Sorted Tables:
    Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition. Standard tables and sorted tables both belong to the generic group index tables.
    This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of
    table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key.
    Hashed Tables:
    Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition.
    This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and
    using internal tables that are similar to database tables.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • A Disk Utility error message when creating a dmg file

    I was trying to create an encrypted dmg file on a USB Drive. It was going smoothly, I had entered the password twice, and then 30 seconds later I got an error message: "unable to create "name-dmg" -illegal seek" I tried the Help menu, as well as Sher

  • How do I get the HTML5 pack for Dreamweaver CS5 v11.0?

    I have Dreamweaver CS5 v11.0 Build 4993 - how do I get the HTML5 pack? Tried downloading and installing v11.04, but this didn't seem to install. Any ideas?

  • Revoke a certificate accepted while creating a Mail acct in iOS

    If you setup a mail account that uses SSL, then after you enter your SMTP values and click on Next it will verify your account settings. If your mail server uses SSL, you will be prompt with something similar to "Cannot Verify SErver Identity - Setti

  • Disk utility & adding to existing RAID 0 set

    Hi all, I have a RAID 0 set-up with two 1TB drives, it works just great for what I need, but I am running out of space. And I thought 2TB would be more than enough!!!!! Just a thought, but can I add another 1TB disk into the RAID (same manufacture &

  • Ruby.

    trying to install the ruby package keeps wanting to snag x.org and friends. is there are ruby in the repos that does not have an X win dependency? pacman -Si ruby Name              : ruby Version           : 1.8.1-3 Groups            : None Provides