Sort in Grid
Séverine LE ROCH
Hi!Since the screen "business partner" and a button, I launch a grid with the result of a query, history of orders
In my query I put: "Order by T0.DocDate" but when I want to see query's result: the sort is in the first column. Automatically the sort is doing in the first column but I don't want put "DocDate" in the first column.
Is there a functionnality to change the column wich is sorted?
I put my optimisation in an attachment to be more clear.
thanks
Attachment
[url=http://www.coresystems.ch/wp-content/../wp-content/forum-file-uploads/sleroch/Customize_SortGrid.doc]Customize_SortGrid.doc[/url]
Anders Olsson
Hi Séverine,According to the following SDN post, a Grid with a CollapseLevel > 0 doesn't support sorting:
http://forums.sdn.sap.com/thread.jspa?messageID=9372018
There is a workaround which might be useful for you.
Kind regards,
Anders Olsson
Séverine LE ROCH
"Actually, B1 will automatically sort column N+1 (with N being the collapse level) with ascending order."That isn't the case for me... B1 will sort the column N (the collapse level)
I've tried to add a column after the column N with a row number but it doesn't work.
How can I do?
Thanks
Kind regards,
Anders Olsson
Hi Séverine,This is a limitation of the Grid as exists in the SAP UI API. We can only hope that SAP will include this feature in a future release.
Regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments