Cannot sort on a text box

Posted by RichardWalsh on 11-Jun-2014 08:54

You don't seem to be able to sort on a Rollbase text box .

So if, for example, I have an address text box and include in a List View I cannot click on the heading to get the list forted by the address.

So I am considering have text fields Ad1, Ad2, Ad3, Ad4 etc so I can sort on the first address line in a list view.

Any other better solutions anyone has implemented ?

Thanks. Richard

All Replies

Posted by Laurent on 11-Jun-2014 09:29

By text box I assume you mean a field of type "Text Area". The only thing I could think of would be to create another field of type "Expression" (say "address2") that returns the value of the address field, and display that address2 field in your view.

Posted by RichardWalsh on 12-Jun-2014 06:30

Thanks Laurent. Any code sample I might use ?


Sent from my iPhone

On 11 Jun 2014, at 15:30, "Laurent" <bounce-lpoulain@community.progress.com> wrote:

Reply by Laurent

By text box I assume you mean a field of type "Text Area". The only thing I could think of would be to create another field of type "Expression" (say "address2") that returns the value of the address field, and display that address2 field in your view.

Stop receiving emails on this subject.

Flag this post as spam/abuse.

Posted by Laurent on 12-Jun-2014 07:46

There isn't much code. In the Expression value you can enter something like:

    return "{!address}";

Here, "address" should be replace by the integration name of the field you want to sort by.

Posted by RichardWalsh on 13-Jun-2014 08:32

Hi Laurent
Thanks. That worked.


[collapse]
From: "Laurent" <bounce-lpoulain@community.progress.com>
To: "TU Rollbase" <TU.Rollbase@community.progress.com>
Sent: Thursday, 12 June, 2014 1:47:24 PM
Subject: RE: [Technical Users - Rollbase] Cannot sort on a text box

Reply by Laurent

There isn't much code. In the Expression value you can enter something like:

    return "{!address}";

Here, "address" should be replace by the integration name of the field you want to sort by.

Stop receiving emails on this subject.

Flag this post as spam/abuse.


[/collapse]

This thread is closed