Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Formating Values in Property Grid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Formating Values in Property Grid

    Is there a quick way to format the appearance of the values that appearin the Property Grid? For example, if I have an input that is a type double and set it to 2, it appears as 2 in the Property Grid. I would like it to appear as 2.0. I know how to do this via a TypeConverter but it seems an overkill for such a simple thing as this. Any suggestions would be greatly appreciated. Thank you.

    #2
    Hello Zeos6,

    This would require the use of a type converter.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for letting me know AllanP. Appreciate it.Using a TypeConverter for this is a bit of an overkill but I get it. Thanks.

      Comment


        #4
        Originally posted by Zeos6 View Post
        Thanks for letting me know AllanP. Appreciate it.Using a TypeConverter for this is a bit of an overkill but I get it. Thanks.
        Use a non-browsable, dummy property, converting to and from string?
        Last edited by koganam; 09-07-2017, 07:31 AM.

        Comment


          #5
          Thanks Koganam.That's a great idea and will probably work best. I don't really need the machinery of a TypeConverter for this.Will give it a go.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mjairg, 07-20-2023, 11:57 PM
          3 responses
          213 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          544 views
          0 likes
          Last Post PaulMohn  
          Started by GLFX005, Today, 03:23 AM
          0 responses
          3 views
          0 likes
          Last Post GLFX005
          by GLFX005
           
          Started by XXtrader, Yesterday, 11:30 PM
          2 responses
          12 views
          0 likes
          Last Post XXtrader  
          Started by Waxavi, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Working...
          X