Skip to Content
avatar image
Former Member

get the selected rows and show it in another popup

Hi,

I am trying to get the selected rows and show them in some popup.
How we can do this please give some example.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 04, 2017 at 07:52 AM

    Trigger the selectionChange event of the Table control whose mode is SingleSelectMaster.

    onSelectChange: function() { 
        var oTable = this.getView().byId("idTable");
        var oRow = oTable.getSelectedItem().getBindingContext().getObject(); //selected row
    }

    Access the individual property of the selected row and view it in your dialog fragment.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 03, 2017 at 03:49 PM

    Store selected entries in a JSON model.....access the same in popup to display

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2017 at 02:22 AM

    Step 1: Get access to the table by its ID.

    Step 2: Use the method - getSelectedItems()

    This will provide you the items selected by the user.

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded