How can i sort a single AdvancedDataGridColumn in a AdvancedDataGrid?

Hello,
I am using a ADG, which populates the returned data(arraycollection) from database. I'm generating a counter on java side for each returned record and showing that counter in ADGcolumn. I just want to sort that particular column.
When i debug the application, i'm getting the counter count properly but when its showing in ADG, sorting is missing. when i clicks on coloum header, then only its showing in ascending order, i need to show up in ascending order without clicking on column header.
Can anyone help me in this issue??

Hi Johnny,
Thanks for your helpful code, its really working for me.
but i have an issue, once i apply the sort, i'm getting number '1' and down arrow symbol on ADGcolumnheader.
i'm using a itemrenderer to get rid of '1' but i need to make invisible the down arrow symbol too.
sortExpertMode property is working for other columns but not for the column which i'm applying sort.
Here is the code which disabling the number on columnheader:
package
import mx.controls.advancedDataGridClasses.AdvancedDataGridSortItemRenderer; 
import mx.core.UITextField; 
public class ADGSortItemRenderer extends AdvancedDataGridSortItemRenderer{
public function ADGSortItemRenderer(){
//TODO: implement function
override protected function childrenCreated():void{ 
super.childrenCreated(); 
//Get reference to sort number text field
var sortOrderTextField:UITextField = this.getChildAt(0) as UITextField; 
if(sortOrderTextField != null){ 
//Hide sort number text field
sortOrderTextField.includeInLayout =
false;sortOrderTextField.visible =
false;}
here is the image:
is there any way to disable both the number(1) & down arrow??
Thanks,
Shravan P.

Similar Messages

  • Pages:  How can I sort one column of words and not have it affect the other columns?

    How can I sort one column of words and not have it affect the other columns?  I have opened the inspector to the edit columns and rows under Table.  It will sort the column, but then it changes the other colums as well.  I know that if I use Numbers, it will work, but I want to know how to do the same thing in Pages.

    Hi Peter,
    Numbers sorts full rows on values in selected column(s). The technique for sorting a single column is essentially the same as Jerry is describing for Pages tables—separate the (data in the) column to be sorted, sort it, return it to the table.
    In Numbers the actual column may be separated from the original table, sorted, then returned. In Pages, the data must be extracted, sorted, then pasted back in, overwriting the unsorted data (if it was left in the original table).
    iWork tables follow a database model in which each row is a Record, and each column holds a Field within the records.
    As evidenced by the current question (and several similar questions arising in the Numbers community) that model doesn't apply to the way some users, especially some who come in from the MS Excel world, use tables.
    With Excels model—islands of data on a single large table, the ability to sort one or a selected few columns of data makes sense. One 'island' may comprise only cells AA21:AH50. Sorting that small 'table' should be possible without disturbing the rest of rows 21-30, which are probably part of one or more other 'data islands' in the sea that is a MS Excel spreadsheet.
    In Numbers, each of those 'islands' would be a separate Table, and that Table would be sortable without disturbing other Tables in the document.
    Regards,
    Barry

  • How can I sort lines of data (alphabetically) in the new pages 5.0?

    How can I sort lines of data (alphabetically) in the new pages 5.0?
    It was very simple to do in the previou version of pages.

    I'm not sure why people are torturing themselves with Pages 5 given the nearly universal outcry on this forum and the incredibly negative reviews elswhere, such as the App Store.
    Pages 4.3 should still be in an iWorks folder within your Applications folder.  Just use that.
    Please remember to tell Apple what we need from them at:
    http://www.apple.com/feedback/pages.html

  • How can I view as "single page continuous" in full screen mode?

    how can I view as "single page continuous" in full screen mode?
    preferences->page display:
    preference->accessbility:

    Not possible.

  • How can I restore a single image from an aperture time machine backup, do I have to restore the entire library? that does not make sense

    I hope there has been found a more efficiant solution for this,  how can I restore a single image from an aperture time machine backup, I really hope I don't have to restore the entire library? that does not make sense
    any suggestions?

    Did you try browsing your backups in the Finder ?  That is, do not go and "Enter Time Machine".  Instead, navigate to your Time Machine backup via Finder and then manually go to the time period (by folder name) you are looking for ... when you find your Aperture library you can then "Show Package Contents" and find the Master you are looking for.

  • How can I sort files in a folder by name?

    How can I sort files in a folder by name? iFS first sort files that starts with upper-case letter and then files with lower-case letter.
    Like:
    A_file
    B_file
    a_file
    b_file
    I want:
    A-file
    a_file
    B_file
    b_file
    This doesn't help:
    String[] sort_attributes = {"NAME"};
    boolean [] sort_orders = {true};
    SortSpecification sort = new SortSpecification(sort_attributes, sort_orders);
    currentFolder.setSortSpecification(sort);
    Do I have to get all items in a folder and then sort them?
    /Elin

    I do not think there is a way to do that without add-ons
    There are a couple of workarounds I am aware of
    * Add the bookmarks manually in the bookmarks library and choose the position. That is using Show all bookmarks -> open required folder -> select a position and right click -> add new bookmark <br />Rather a slow and clumsy process
    * Sort a folder and copy it. If you sort the folder contents then copy and paste them they remain in that order when pasted.
    There are add-ons but I have not tried them. For example
    * https://addons.mozilla.org/firefox/addon/simplesort-bookmarks/
    * https://addons.mozilla.org/firefox/addon/auto-sort-bookmarks/
    There will be others available and take note of the advice to backup bookmarks manaully.
    * [[Restore bookmarks from backup or move them to another computer#w_manual-backup]]_manual-backup

  • How can I sort albums in a genre by release date in the itunes store

    How can I sort albums in a genre by release date in the itunes store

    Did you figure this out? Am having the same problem.
    EDIT:
    Found the group in store (in this case Juana Molina) It said music -> alternative
    Changed to column view, and could not find the artist at all in any of the sub categories.
    iTunes is really the biggest pain in the .... and has gotten worse over the years.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • HT1267 The Apple ID in my new IPhone is not the same as my ID . how can i sort this

    Hi, The Users ID on My New IPhone Is not the same as my apple ID
    How can I sort this ...

    Got it!!!!  A re-install is NOT the answer.  You need to turn on individual notifications under Settings > Facebook > Push Notifications, BUT (and this is a big and confusing BUT) you also need to turn on global push settings under Settings > Mail, Contacts, Calendards > Fetch New Data (and change the Push slider to 'on').  This doesn't sound like it makes sense, but I guess that the push slider under 'Mail, Contacts, Calendars' is actually for ALL push notifications on iPhone, and not just Mail, Contacts and Calendar apps!

  • How can I delete a single song from my iPad?

    How can I delete a single song from my iPad?

    Hi lizdance40,
    The first part of your answer worked great, thanks for that!  However, since doing that, there are still songs on the iPad that I want to delete. I place my finger on the song, swipe to the left....and nothing. No red "delete" appears at the right. That used to work on my full size iPad, but not on this mini. I just purchased it last Friday...maybe it's defective?
    Thanks again,
    Sirsheila

  • How can I create a single order from multiple quotations?

    How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
    Thanks in advance for the answers.

    hi
    Go to transaction: /nva01
    Enter order type : ZOR
    Sale org :xxxx
    Dist.channel:xx
    Division :xx
    Press enter
    Click on “Sale document” and select Create with reference
    Then enter 1st quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation1 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 2nd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation2 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 3rd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation3 copy to order.
    Now save the sale document.
    Kindly give reward points
    Edited by: WISH on Mar 19, 2008 2:25 PM

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • How can i declare a single radio button field in selection-screen ?

    How can i declare a single radio button field in selection-screen ?

    >
    Rob Burbank wrote:
    > And how will you turn it off once it is turned on??
    >
    > Rob
    Thats correct ;)...See ravi if users will ask so many things its our Job to convay the correct solution ....
    Just post your org requirement..SOo some body guide you better//
    Sas

  • How can I delete a single password stored in Sync?

    I entered a password that i don't want to be stored online. How can one remove that single password? thx for replying...

    My page was blank.  I took your suggestion and added some text.  When I deleted all of the text the page deleted too.  Thanks!!!!
    Spencer

  • How can I put a single song in ipod without having to reset it ?

    How can I put a single song in ipod without having to reset it ?

    Managing content manually on iPod
    http://docs.info.apple.com/article.html?artnum=61148
    Patrick

Maybe you are looking for

  • Export Freeze in Premiere Pro CC

    Good Day everyone. We have 4 Late 2012 iMacs: 3.7 i7 Processor 32 GB Ram 1TB Fusion Drive 3 of them have GTX 680MX 2GB GPU's and 1 has a GTX 675MX 1GB GPU. All of these machines are plugged directly into our 28TB Editshare server. Here's the fun part

  • Data issues in Migrating Essbase(BSO and ASO apps)from Server 7 to Server 9

    I was able to copy application one is BSO another one is Aso Both APPS ARE CLEARED IN BATCH FILE. Budget data excel and flat files is loaded to BSO, calcualation for current year data is done the some for budget files loaded and then calcs are execut

  • Problems with RFC transport confirmation in a BPM

    Hi everyone. I have an interface that is stopped now. The problem is that XI tried to send a RFC and the R3 backend is down. Now i have this interface waiting for a transport confirmation (since last sunday morning). is there any way to 're-send' the

  • How do I transfer m4v file to my iPad from my iMac?

    Good day, I'm quite new to the Apple world... I would like to know how to transfer m4v movies currently on my iMac to my iPad. Seems like I have no luck through iTune.

  • Payment setoff between Vendor and Alternative payee vendor

    Hi It is assumed that if a vendor account points to another vendor account for payment i.e Alternate Payee vendor, the two account balances will be combined into one payment.  This is currently not happening.  A separate payment is issued under each