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 sidlercom80, 10-28-2023, 08:49 AM
          172 responses
          2,279 views
          0 likes
          Last Post sidlercom80  
          Started by Irukandji, Yesterday, 02:53 AM
          2 responses
          17 views
          0 likes
          Last Post Irukandji  
          Started by adeelshahzad, Today, 03:54 AM
          0 responses
          4 views
          0 likes
          Last Post adeelshahzad  
          Started by Barry Milan, Yesterday, 10:35 PM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by WeyldFalcon, 12-10-2020, 06:48 PM
          14 responses
          1,431 views
          0 likes
          Last Post Handclap0241  
          Working...
          X