How to configure a List consisting of Threepart Cells?
Today, I'll show you a brief example of configuring a normal list, where the cells consist of three parts resp. of three fieldmappings.
We have some definitions for the view to customize it. As you can see on the screenshot, we mainly use the following definitions:
threepartcells: This definition specifies whether the cell should consist of three parts or not. Normally, a cell in a list consists of either one or two parts.
→ e.g. threepartcells=yes;
cellfrontwidth: If you want to configure a threepart cell, you can define the width of the first cell with this definition.
→ e.g. cellfrontwidth=0.3;
sectionfield: If you want to have sections in your list, you can state the value according to which you want your list ordered.
→ e.g. sectionfield=Pers_Name;
searchfields: This definition determines the search within the list.
→ e.g. searchfields=Pers_Name,Comp_Name;
Since we want to configure a threepart cell, we have to determine three fieldmappings. Please be aware, that all three fieldmappings should be in the same group, but the position differs.
In our example, we highlight the first cell by customizing the first fieldmapping with the help of the following definitions:
backgroundcolor: This definition defines the color of the background, which we can get dynamically via the SQL statement, i.e. the SQL statement must contain the definition of the color in hexadecimal (SELECT '#629CD3' AS color ... FROM ...).
→ e.g. backgroundcolor=color;
If you need further help, have a look here:
http://salesperformer.host4kb.com/article/AA-00275/34/mobile-client/Administration/Views/Typen/Mobileclient%3A-Listview.html