Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 534089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:34:32+00:00 2026-05-13T09:34:32+00:00

I hope I am describing my issue enough.. here goes: I have a YUI

  • 0

I hope I am describing my issue enough.. here goes:

I have a YUI data table, get a server side set of records via JSON, and then populates the data.

Users can click on the headers to sort the data in three of the 6 columns, (which are using a custom sort function for each column). The sorting is done client-side.

When a user sorts the data, I need to be able to get a complete list of the values from one of the columns being shown. I need all the data available, not just what’s rendered to the page. The data hidden via pagination must be included.

Any ideas? I’ve tried the handleDataReturnPayload and doBeforeLoadData methods of the DataTable but both give the original, unsorted data.

I’m really stuck here and I’ve got a client depending on a feature that depends on me getting this sorted list.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:34:32+00:00Added an answer on May 13, 2026 at 9:34 am

    Satyam, over at the YUI Forums answered my question perfectly.

    The data is actually stored in the
    RecordSet. At any time you can go and
    look at it, and it will be sorted as
    shown on the screen, but it will have
    all the data, whether shown or not.

    Method getRecordset() will give you a
    reference to it and then you can loop
    through its records.

    You can listen to the columnSortEvent
    to be notified a sort has occurred.

    I just subscribed to the columnSortEvent event and looped through the array returned by datatable.getRecordSet().getRecords().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hope I can get some help here. I have the below code to filter
Hope someone can help me out of this issue. Im trying to get data
Hope someone will give me a hand with this problem I have. So here
Hope this is a straightforward issue: Here is my dictionary temp = {'0.1995': ['in1',
Hope someone can help me here? Having an issue getting text that's located inside
Hope you can have a quick look at what I'm doing here. Essentially, am
Hope you might have come across the ClickOnce download timeout issue. The download just
Hope this is really easy question, but I have the following string of data
Image describing the problem http://img215.imageshack.us/img215/3725/20100314235127schedule2.jpg I hope the image above can explain what I
Hope the AWK gurus can provide a solution to my problem . I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.