Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1085
Formatting combo editor columns
posted

We are displaying various types of data, including dates and numeric values within itemTemplates in our igGrid.

The issue that we have is that we cannot figure out how to safely format the values for display, including consideration of internationalization.

Can someone please point us in the right direction? Would it make more sense to use a grid as the column editor and, if so, can you please provide an example?

Parents Reply Children
  • 4315
    Offline posted in reply to Nikolay Alipiev

    Hi, Karl.

    I guess you already forgot about this issue, but we are not yet. I'm writing you because we have a new system that you can request the igCombo to have format function similar to that one in the igGrid. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.

    Steps to create your idea:

    1. Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
    2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
    3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!

    The benefits of submitting the product idea yourself include:

    - Direct communication with our product management team regarding your product idea.
    - Notifications whenever new information regarding your idea becomes available.

    Additional benefits of the product idea system include:

    - Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
    - Allow you to shape the future of our products by requesting new controls and products altogether.
    - You and other developers can discuss existing product ideas with members of our Product Management team.

    The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Thank you for using Infragistics controls.

    Best regards,

    Nikolay Alipiev


  • 4315
    Offline posted in reply to Karl Costenbader

    Hi, Karl.

    My colleagues helped to discover an igLoader option called 'autoDetectLocale' that automatically loads regional settings depending on the browser language. If you follow that sample and go to the HTML code, then using the same code, you need just to add the 'autoDetectLocale' option:

    $.ig.loader({

             scriptPath: '/samplesbrowser/samplescommon/jQuery/common/js/',

             cssPath: '/samplesbrowser/samplescommon/jQuery/common/css/',

             resources: 'igCombo',

                autoDetectLocale: true });

    In this sample you have also Templating that contains a value of type date. So it worked for me and depending on the browser settings it loads different date formats. I hope this is something that is new for you and will help you resolve your case.

    If your request is more likely to have a format function, similar to that in that in the igGrid, in combination with Templating, this is not supported by the igCombo. I guess you expect the value as a parameter to a function, which will allow you to modify it, before it was rendered. Is this the behavior you are expecting from the igCombo? Please correct me if I'm wrong.

    I will wait for your feedback.

    Best regards,
    Nikolay Alipiev