cancel
Showing results for 
Search instead for 
Did you mean: 

Sap mdk objectcell

gvishjoshi
Explorer
0 Kudos
252

Hi

 On Iphone, when statustext and substatustext properties of objectcell are populated, the title and description get truncated although lot of space is available on the row

Also how too show multiple tags one below other rather than in a single line

How can this be avoided

Regards

mobile development kit client 

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
Could you share what did you define in the page metadata and how does it appear on the device?
View Entire Topic
panushjain
Product and Topic Expert
Product and Topic Expert
0 Kudos

Reduce the characters in the `statustext` and `substatustext` properties and ensure that the title and subtitle on the left side do not get truncated, you can follow these steps. Additionally, remember that list pages are designed to provide a brief overview, and detailed views should be accessible through the `OnPress` event. Here is a refined approach to achieve this:

1. Shorten `statustext` and `substatustext`:

  • Change "This is the status text" to "Status".
  • Change "This is the SubStatus text" to "SubStatus".

2. Ensure brevity and clarity:

  • Keep all ObjectCell properties short and crisp, as text wrapping is not yet supported.

3. Navigation to detailed view:

  • Use the `OnPress` event to navigate to a new page for detailed information.

Here is an example:

 

 

{
  "ObjectCell": {
    "title": "Item Title",
    "subtitle": "Item Subtitle",
    "statusText": "Status",
    "substatusText": "SubStatus",
    "OnPress": "/path/to/Details.page"
  }
}

 

 

On the detailed page (`DetailsPage`), you can provide more comprehensive information. This approach ensures that the list pages offer a concise overview while allowing users to access detailed information as needed.

By keeping the ObjectCell properties short and crisp, you avoid truncation issues and maintain a clean, user-friendly interface.