on 04-08-2011 8:15 AM
We have 2 almost identical WD applications each with a sortable table. However each behaves differently.
In the first application we get 2 parameters when a user clicks a column to sort:
wdevent->get_string( 'COLUMN' ).
wdevent->get_string( 'DIRECTION' ).
In the second application we only get:
wdevent->get_string( 'COL' ).
There is no COLUMN and no DIRECTION!
What is the explanation for this and how can we always get both parameters consistently?
Are you sure you aren't getting an onColSelect event instead of a sort in the one application? It is odd that you are getting parameter of COLUMN. That isn't listed as a parameter for any event. All the event handlers are documented here:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2d/390e422dfcde2ce10000000a1550b0/frameset.htm
Have you set a breakpoint in the event handlers and looked at the WDEVENT object in the debugger to see what all parameters are available in each?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.