Question

Column Display Name in Mobile Grid/List Page

Hi Community,

In mobile how can I change the display name of column in Grid/List Page just like in web application we can change the column display name in "Section->Select fields to Display".

 

Like 0

Like

1 comments

Dear Fulgen,

Unfortunately, it can be done only with development. Here is the example of how this can be implemented. As an example I'm changing the title of the Account column on the Contact page. 

1) Create a custom module http://prntscr.com/qdktu7 (e.g. UsrCustomMobileContactModuleConfig)

2) In the module write the following code (http://prntscr.com/qdkuqi): 

Terrasoft.sdk.RecordPage.configureColumn("Contact", "primaryColumnSet", "Account", {

    label: "Test"

});

Where Contact is the model where the column is located, primaryColumnSet is the column set (primary, in a detail, in a custom column set), and the Account is the name of the column itself. 

"Test" is the name of the localizable string where you set the title of the column (http://prntscr.com/qdkx0d)

3) Replace the MobileApplicationManifestDefaultWorkplace and add  UsrCustomMobileContactModuleConfig in the Contact model in the PageExtensions (http://prntscr.com/qdky13)

4) Compile the application and synchronize the mobile application 

After that the title is changed (http://prntscr.com/qdkyle)

Show all comments