Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

help with sap.m.P13nSortPanel

Hi,

I am using a P13nSortPanel and i am binding it to a model to fill the items and the sort items. After the sort panel has been changed by either adding a new row or by changing the items, i am not able to get the complete set of data on the sort panel.

i tried oEvent.mParameters.payload.sort which also didnt get me the complete data.

Please help.


Thanks,

Manoj

Former Member
replied

Hi Manoj,

If you are using only P13nSortPanel, then try like this -

oEvent.getSource().getAggregation("sortItems");

Check this sample - Plunker, where I am using columns, sort and filter panels and on click of 'OK' in dialog it will alert the first sort item column key and operation. Check the code in App.controller.js - handleClose function. Since, I have used different panels in the dialog. I have used little bit different code, hope you will understand.

Regards,

Sai Vellanki.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question