Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

column click header emulation on DataGrid #8

Open
kolach opened this issue Dec 18, 2010 · 0 comments
Open

column click header emulation on DataGrid #8

kolach opened this issue Dec 18, 2010 · 0 comments

Comments

@kolach
Copy link

kolach commented Dec 18, 2010

It is better to explain on example:

If for example I have 3 Execution Reports that are added to a grid as soon as they are pushed to UI by the server side, and they are aded just one bellow the other.

 | ClOrdId | Symbol | Price | Qty |
 | AFX-5   | A      | 15    | 15k |
 | HKJK    | B      | 10    | 20k |
 | TYLK    | C      | 5     | 12k |

But due to event based nature the order can vary from test to test. For example I can get:

 | ClOrdId | Symbol | Price | Qty |
 | AFX-5   | A      | 15    | 15k |
 | TYLK    | C      | 5     | 12k |
 | HKJK    | B      | 10    | 20k |

or other combination. So the data is all the same. But the order of records is not.

But to make the table.diff!(data) operation I must alway have a way to get it in a some unchangeable order.
So If I had a step like:

When I click a "Price" column to sort the data in "Reports" data grid

to emulate the sorting, that would be great. Right now I use a workaround hack that gets the data and applies the sorting procedure to it before calling the diff! method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant