Results 1 to 5 of 5

Thread: Comma in INT field on 5.1 - thousands separators

  1. #1
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Comma in INT field on 5.1 - thousands separators

    Hi,

    in 5.1 INT fields display with thousands separators in ListViews. Is there a simple way of disabling the format in the ListView that I am missing. (Apart from changing the thousands seperator in settings)

    Tx
    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Comma in INT field on 5.1 - thousands separators

    Hi M

    If that module is a custom module you can modify the vardefs and set the attribute "disable_num_format" to true for the field.
    If that module is a built in you can create an extended vardefs and set that attribute.

    Kind regards
    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.

  3. #3
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: Comma in INT field on 5.1 - thousands separators

    Quote Originally Posted by andopes View Post
    set the attribute "disable_num_format" to true for the field
    Thank you! I tried all kinds of things in the listviewdefs and extended vardefs, format=>false etc. until I eventually decided to ask :-)

    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Comma in INT field on 5.1 - thousands separators

    Be sure to check the wiki for the options

    http://www.sugarcrm.com/wiki/index.php?title=Currency
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: Comma in INT field on 5.1 - thousands separators

    Quote Originally Posted by SugarDev.net View Post
    Be sure to check the wiki for the options
    Of course you are right :-) but I find the Wiki very disorganized. The content and detail on the metadata is actually very good but I do not believe it is possible to navigate from the home page to that detail.

    As an example the actual answer to my question is here http://www.sugarcrm.com/wiki/index.p...ble_num_format but can you navigate logically from the home page to that article?
    And unless you know what to search for the search is almost as bad as the one on the forums.

    I think for the Wiki to be really useful someone (me?) should add some top level menu entries to make navigation easier and more intuitive.

    my 2c
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2009-05-15, 04:34 AM
  2. thousands separators in listview
    By danheff in forum Developer Help
    Replies: 8
    Last Post: 2009-01-19, 04:45 PM
  3. remove comma from integer field in detailview
    By mikesolomon in forum Developer Help
    Replies: 7
    Last Post: 2008-07-22, 10:39 AM
  4. Replies: 3
    Last Post: 2008-06-27, 10:16 AM
  5. thousands separators
    By peppecu in forum Help
    Replies: 2
    Last Post: 2006-01-27, 11:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •