Sections are Coming to 4D for Android

In a data list, the results are usually sorted on a relevant field to help the user find the desired data quickly and easily. Another trick to make the reading clearer is to group the results by adding sections. 

Something that is possible since 4D v19 R8. Let’s delve into the details!

How to?

You have a section field in the list form templates. Drop a field you want to use in the mobile editor as a section. 

For this example, we have created a computed attribute returning the first letter of the last name. Then we use this computed attribute as a section.

exposed Function get initialLetter() : Text
 return This.LastName[[1]]

Now you have to build the application.


This image shows a Contact application. The contacts are group by Section on the first letter of last name.

And after that…

See the documentation for more details on the possibilities of 4D for Android.

Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.