cancel
Showing results for 
Search instead for 
Did you mean: 

Master list box item is unselected

nishantbansal91
Active Contributor
0 Kudos

Hi,


I have created one Master detail application. For master page i have used <LIST> <OBJECT LIST ITEM> for populating the data.

But when i selected the Master page item, detail page is populating as per the selected item but the Master page item is not in selected FORM.

I have attached the image. Its shows 35 Trip number is selected, but i want the selection in the BLUE color.

Below is the code for the master view.

  <List id="travel" items="{/get_travel_headerSet}" headerText="Travel Request number">

  <items>

  <ObjectListItem title="{REINR}" type="Active"

  press="onListItemPress" number="{PRICE}" numberUnit="{CURRENCYCODE}">

  <attributes>

  <ObjectAttribute text="{LOCATION_BEG}" />

  <ObjectAttribute text="{LOCATION_END}" />

  <ObjectAttribute text="{DATE_BEG}" />

  </attributes>

  </ObjectListItem>

  </items>

  </List>

Thanks

Nishant.

Accepted Solutions (0)

Answers (1)

Answers (1)

saivellanki
Active Contributor
0 Kudos

Hi Nishant,

Instead of ObjectListItem 'press' event, use List 'selectionChange' event, then you can see the selected item in different color.

A similar issue has been discussed in this thread:

Regards,

Sai Vellanki.