Is it possible to sort dropdown lists in the ListView by clicking on the field name (for all modules)?
All tips are welcome!!
5.1.0c (Build 4979) Professional
Thanks in advance
Is it possible to sort dropdown lists in the ListView by clicking on the field name (for all modules)?
All tips are welcome!!
5.1.0c (Build 4979) Professional
Thanks in advance
any ideas on how to do this?
You need to edit the file custom/modules/<ModuleName>/metadata/listviewdefs.php
and add the attribute
Into dropdown field defs.PHP Code:'sortable' => true,
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Thanks André
worked like a charm!
![]()
Hi,
I have the same problem and I have tried to follow the solution suggested above, but the problem is that the directory does not exist.
I have created a cisutom field and added it in the Projects module and in the list view. The custom field shows up in the list view but does not have the hyperlink for sorting.
When I go to custom/modules/<ModuleName>/ there is no directory called "metadata" and therefore I do not have the file listviewdefs.php to edit it. The only directory that exists under custom/modules/<ModuleName>/ is the 'language' directory.
Have you got any suggestions?
Many thanks in advance.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks